Merge branch 'master' of https://github.com/fetsite/fetsite
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<h2><%= link_to modulgruppe.name, modulgruppe_path(modulgruppe) %>
|
||||
</h2>
|
||||
|
||||
<%= modulgruppe.desc%>
|
||||
<%= modulgruppe.desc%><ul>
|
||||
<%= render :partial=>'moduls/kurz', :collection=>modulgruppe.moduls, :as=>:modul%>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modulgruppe_path(modulgruppe) %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="studium">
|
||||
<h2><%= link_to studium.name + " " + studium.zahl.to_s, studium_path(studium, :ansicht=>'semesteransicht')%></h2> <p><b><%= studium.typ%> </b></p>
|
||||
<p><b>Beschreibung:</b><br>
|
||||
<p><b><%=I18n.t("studien.desc")%>:</b><br>
|
||||
<%= !(studium.desc.to_s == "") ? studium.desc.html_safe : I18n.t("keine.beschreibung")%></p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<% else %>
|
||||
<li>
|
||||
<% end %>
|
||||
<%= link_to "Alle Studien", studien_path %> </li>
|
||||
<%= link_to I18n.t("studien.allestudien"), studien_path %> </li>
|
||||
<% for s in Studium.all %>
|
||||
<% if !@studium.nil? && s == @studium %>
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
<% else %>
|
||||
<li class="pull-right">
|
||||
<% end %>
|
||||
<%= link_to "Verwaltung", studien_verwalten_path %>
|
||||
<%= link_to I18n.t("studien.verwaltung.title"), studien_verwalten_path %>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="span8">
|
||||
<h2><%= sem.name %></h2>
|
||||
</div>
|
||||
<div class="span4"><div class="pull-right"><%= link_to 'Lvas hinzufügen/entfernen', edit_semester_path(sem), :class=>"btn-small"%></div>
|
||||
<div class="span4"><div class="pull-right"><%= link_to I18n.t("lva.addrem"), edit_semester_path(sem), :class=>"btn-small"%></div>
|
||||
</div></div>
|
||||
<% sem.lvas.each do |lva| %>
|
||||
<div class="row-fluid">
|
||||
|
||||
Reference in New Issue
Block a user