locale und design
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
<h2><%= link_to modulgruppe.name, modulgruppe_path(modulgruppe) %>
|
<h2><%= link_to modulgruppe.name, modulgruppe_path(modulgruppe) %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= modulgruppe.desc%>
|
<%= modulgruppe.desc%><ul>
|
||||||
<%= render :partial=>'moduls/kurz', :collection=>modulgruppe.moduls, :as=>:modul%>
|
<%= render :partial=>'moduls/kurz', :collection=>modulgruppe.moduls, :as=>:modul%>
|
||||||
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modulgruppe_path(modulgruppe) %>
|
<% 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>
|
<b><% if !modul.name.nil? %><%= link_to "Modul "+ modul.name , modul_path(modul) %> <%end%></b>
|
||||||
</p>
|
</p>
|
||||||
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
|
<% 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>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
|
<div class="lva-sidebar">
|
||||||
<h2>Modulgruppen</h2>
|
<h2>Modulgruppen</h2>
|
||||||
|
<ul>
|
||||||
<% @modul.modulgruppen.each do |mg| %>
|
<% @modul.modulgruppen.each do |mg| %>
|
||||||
<%= render 'modulgruppen/kurz', :modulgruppe=>mg %><br>
|
<li>
|
||||||
|
<%= render 'modulgruppen/kurz', :modulgruppe=>mg %>
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</ul>
|
||||||
<h2>Lvas</h2>
|
<h2>Lvas</h2>
|
||||||
<% @modul.lvas.each_slice(3) do |row| %>
|
<% @modul.lvas.each_slice(3) do |row| %>
|
||||||
|
<ul>
|
||||||
<% row.each do |lv| %>
|
<% row.each do |lv| %>
|
||||||
|
<li>
|
||||||
<%= render 'lvas/lva_semester', :lva=>lv%>
|
<%= render 'lvas/lva_semester', :lva=>lv%>
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="studium">
|
<div class="studium">
|
||||||
<h2><%= link_to studium.name + " " + studium.zahl.to_s, studium_path(studium, :ansicht=>'semesteransicht')%></h2> <p><b><%= studium.typ%> </b></p>
|
<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>
|
<%= !(studium.desc.to_s == "") ? studium.desc.html_safe : I18n.t("keine.beschreibung")%></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<li>
|
<li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to "Alle Studien", studien_path %> </li>
|
<%= link_to I18n.t("studien.allestudien"), studien_path %> </li>
|
||||||
<% for s in Studium.all %>
|
<% for s in Studium.all %>
|
||||||
<% if !@studium.nil? && s == @studium %>
|
<% if !@studium.nil? && s == @studium %>
|
||||||
|
|
||||||
@@ -20,6 +20,6 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<li class="pull-right">
|
<li class="pull-right">
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to "Verwaltung", studien_verwalten_path %>
|
<%= link_to I18n.t("studien.verwaltung.title"), studien_verwalten_path %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<div class="span8">
|
<div class="span8">
|
||||||
<h2><%= sem.name %></h2>
|
<h2><%= sem.name %></h2>
|
||||||
</div>
|
</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>
|
</div></div>
|
||||||
<% sem.lvas.each do |lva| %>
|
<% sem.lvas.each do |lva| %>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
de:
|
de:
|
||||||
studien:
|
studien:
|
||||||
|
desc: "Beschreibung"
|
||||||
studien: "Studien"
|
studien: "Studien"
|
||||||
list: "Studien der Fakultät Elektrotechnik"
|
list: "Studien der Fakultät Elektrotechnik"
|
||||||
anzeigen: "Studium anzeigen"
|
anzeigen: "Studium anzeigen"
|
||||||
@@ -21,6 +22,7 @@ de:
|
|||||||
beschreibung: "Keine Beschreibung vorhanden"
|
beschreibung: "Keine Beschreibung vorhanden"
|
||||||
lva:
|
lva:
|
||||||
add: "Lva hinzufügen"
|
add: "Lva hinzufügen"
|
||||||
|
addrem: "Lva hinzufügen/entfernen"
|
||||||
list: "Alle Lvas"
|
list: "Alle Lvas"
|
||||||
semester:
|
semester:
|
||||||
ohne: "Ohne Semesterzuordnung"
|
ohne: "Ohne Semesterzuordnung"
|
||||||
|
|||||||
Reference in New Issue
Block a user