Title für rubrik

This commit is contained in:
Andreas Stephanides
2014-09-13 18:14:42 +02:00
parent 7a7128aa32
commit 974fcaf3d0
3 changed files with 12 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="http://glonass.htu.tuwien.ac.at/favicon.ico">
<!--<link rel="shortcut icon" href="http://www.fet.at/favicon.ico">-->
<title>Fetsite</title>
<!---->
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
@@ -13,7 +13,11 @@
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<% if content_for?(:header) %>
<%= yield :header %>
<% else %>
<title>Fetsite</title>
<% end %>
</head>
<body>

View File

@@ -1,3 +1,6 @@
<%= content_for :header do %>
<title>Fetsite - <%= I18n.t('home.news') %></title>
<% end %>
<%= render 'tabs' %>
<p id="notice"><%= notice %></p>
<div class="content-wrap">

View File

@@ -1,3 +1,6 @@
<%= content_for :header do %>
<title>Fetsite - <%= @rubrik.name %></title>
<% end %>
<%= render 'tabs' %>
<p id="notice"><%= notice %></p>
<div class="content-wrap">
@@ -24,6 +27,7 @@
<%= render neuigkeit, wrap_in: "li" %>
<% end %>
</ul>