Abkürzungen zu Studien hinzugefügt

This commit is contained in:
Thomas Blazek
2013-08-13 17:22:29 +02:00
parent c8ce5a7c7c
commit b1f9ec1c39
7 changed files with 92 additions and 50 deletions

View File

@@ -7,17 +7,18 @@
<%= link_to "Alle Studien", studien_path %> </li>
<% for s in Studium.all %>
<% if !@studium.nil? && s == @studium %>
<li class="active">
<%= link_to s.name, s %>
<li class="active" title="<%= s.name %>">
<%= link_to s.title_context, s %>
</li>
<% else %>
<li> <%= link_to s.name, s %></li>
<li title="<%= s.name %>"> <%= link_to s.title_context, s %></li>
<% end %>
<% end %>
<% if request.fullpath == studien_verwalten_path %>
<li class="active">
<li class="active pull-right">
<% else %>
<li>
<li class="pull-right">
<% end %>
<%= link_to "Verwaltung", studien_verwalten_path %>
</li>