forked from bofh/fetsite
studien,modul views: internationalisierung und Navigation
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<div style="border: solid 1px; padding:2px;margin-top:5px;"><p>
|
||||
<b><%= link_to "Modul "+ modul.name , modul_path(modul) %> <%= link_to image_tag("edit.png"), edit_modul_path(modul) %></b>
|
||||
<b><%= link_to "Modul "+ modul.name , modul_path(modul) %> </b>
|
||||
</p>
|
||||
<p >
|
||||
<%= raw(modul.desc) %>
|
||||
</p>
|
||||
|
||||
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div style="border: solid 1px; padding:2px"><p>
|
||||
<b><%= link_to "Modul "+ modul.name , modul_path(modul) %> <%= link_to image_tag("edit.png"), edit_modul_path(modul) %></b>
|
||||
<b><%= link_to "Modul "+ modul.name , modul_path(modul) %> </b>
|
||||
</p>
|
||||
<p>
|
||||
<%= raw(modul.desc) %>
|
||||
@@ -10,4 +10,6 @@ LVAs:
|
||||
<li><%= link_to lva.lvanr+" "+ lva.name, lva %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<%= render @modul %>
|
||||
|
||||
<% @modul.modulgruppen.each do |g| %>
|
||||
<% link = g.studium.name + " - " +g.name %>
|
||||
<%= link_to g.studium.name , studium_path(g.studium)%> <br />
|
||||
<%= link_to link , modulgruppe_path(g)%><br />
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<%= link_to g.studium.name , studium_path(g.studium)%> <span class="divider">/</span></li>
|
||||
<li><%= link_to g.name , modulgruppe_path(g)%></li>
|
||||
<%end%>
|
||||
</ul>
|
||||
|
||||
<p id="notice"><%= notice %></p>
|
||||
<%= render @modul %>
|
||||
|
||||
|
||||
<%= link_to 'Add LVA', new_lva_path(:modul_id =>@modul.id) %>
|
||||
|
||||
Reference in New Issue
Block a user