forked from bofh/fetsite
locale und design
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div style="border: solid 1px; padding:2px;margin-top:5px;"><p>
|
||||
<li><p>
|
||||
<b><% if !modul.name.nil? %><%= link_to "Modul "+ modul.name , modul_path(modul) %> <%end%></b>
|
||||
</p>
|
||||
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
@@ -12,17 +12,24 @@
|
||||
|
||||
</div>
|
||||
<div class="span4">
|
||||
<div class="lva-sidebar">
|
||||
<h2>Modulgruppen</h2>
|
||||
<ul>
|
||||
<% @modul.modulgruppen.each do |mg| %>
|
||||
<%= render 'modulgruppen/kurz', :modulgruppe=>mg %><br>
|
||||
<li>
|
||||
<%= render 'modulgruppen/kurz', :modulgruppe=>mg %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
</ul>
|
||||
<h2>Lvas</h2>
|
||||
<% @modul.lvas.each_slice(3) do |row| %>
|
||||
<ul>
|
||||
<% row.each do |lv| %>
|
||||
<li>
|
||||
<%= render 'lvas/lva_semester', :lva=>lv%>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
Reference in New Issue
Block a user