Title für rubrik

This commit is contained in:
Andreas Stephanides
2014-09-13 18:14:42 +02:00
parent b66a60a215
commit 900f15285d
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"> <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://glonass.htu.tuwien.ac.at/favicon.ico">
<!--<link rel="shortcut icon" href="http://www.fet.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 "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %> <%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
@@ -13,7 +13,11 @@
<% theme_stylesheet_link_tag "mod", :media=>"all" %> <% theme_stylesheet_link_tag "mod", :media=>"all" %>
<%= javascript_include_tag "application" %> <%= javascript_include_tag "application" %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>
<% if content_for?(:header) %>
<%= yield :header %> <%= yield :header %>
<% else %>
<title>Fetsite</title>
<% end %>
</head> </head>
<body> <body>

View File

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

View File

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