forked from bofh/fetsite
Abkürzungen zu Studien hinzugefügt
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user