forked from bofh/fetsite
Topbar inclusions
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<br>
|
||||
<% else %>
|
||||
<li>
|
||||
<%= link_to_unless_current '<i class="'.html_safe + tb[:hicon].to_s.html_safe + '"></i>'.html_safe+ tb[:text], tb[:path] %><span class="divider">/</span></li>
|
||||
<%= link_to_unless_current '<i class="'.html_safe + tb[:hicon].to_s.html_safe + '"></i>'.html_safe+ tb[:text].html_safe, tb[:path] %><span class="divider">/</span></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%= render 'layouts/link_all'%>
|
||||
<%= render 'layouts/topbar'%>
|
||||
<p id="notice"><%= notice %></p>
|
||||
<p>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%= render 'layouts/topbar'%>
|
||||
|
||||
<%= render 'layouts/topbar', :topbar=>@tb%>
|
||||
<p id="notice"><%= notice %></p>
|
||||
<%= render @modul %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user