Topbar layouts

This commit is contained in:
Thomas Blazek
2013-08-04 18:04:04 +02:00
parent 05ed9da9c4
commit c72c186d62
10 changed files with 101 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
<%= render 'layouts/link_all' %>
<%= render 'layouts/topbar' %>
<h1><%= I18n.t("modul.list") %></h1>
<%= render :partial=>'moduls/lang', :collection=>@moduls, :as=>:modul%>

View File

@@ -1,24 +1,4 @@
<ul class="breadcrumb">
<% @modul.modulgruppen.each do |g| %>
<% if !g.nil? %>
<li>
<% if !g.studium.nil? %>
<%= link_to g.studium.name , studium_path(g.studium) %>
<% else %>
<li>Studium fehlt!
<% end %>
<span class="divider">/</span></li>
<li><%= link_to g.name , modulgruppe_path(g)%>
<% else %>
<li>Modulgruppe Fehlt
<%end %>
<span class="divider">/</span> </li>
<br>
<%end%>
</ul>
<%= render 'layouts/topbar'%>
<p id="notice"><%= notice %></p>
<%= render @modul %>