Topbar inclusions

This commit is contained in:
Thomas Blazek
2013-08-04 18:37:34 +02:00
parent c72c186d62
commit ef81b61260
6 changed files with 21 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
<p class="lva_semester">
<b><%= link_to lva.name, lva_path(lva)%></b>
(|<% lva.modul.each do |m| %> <%= link_to m.name, modul_path(m) unless m.modulgruppen.map{|x| x.studium}.index(@studium).nil? && !@studium.nil? %> |<% end %>)
<b><%= link_to lva.name, lva_path(lva)%></b><br>
Module: /<% lva.modul.each do |m| %> <%= link_to m.name + ' / ', modul_path(m) unless m.modulgruppen.map{|x| x.studium}.index(@studium).nil? && !@studium.nil? %><% end %>
<br>
<%="LVa-Nr " + lva.lvanr.to_s %>
<%= lva.ects %> ECTS / <%= lva.stunden %> Std <% " / " + lva.beispiele.count.to_s + " Beispiele"%> <br>

View File

@@ -1,4 +1,4 @@
<%= render 'layouts/link_all'%>
<%= render 'layouts/topbar'%>
<p id="notice"><%= notice %></p>
<p>