forked from bofh/fetsite
studien,modul views: internationalisierung und Navigation
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
<div class="modulgruppe_phase_<%= modulgruppe.phase %>">
|
||||
<h2><%= link_to modulgruppe.name, modulgruppe_path(modulgruppe) %><%= link_to image_tag('edit.png').html_safe+"Edit", edit_modulgruppe_path(modulgruppe),:class=>"btn" %></h2>
|
||||
<%= modulgruppe.desc%>
|
||||
<div class="modulgruppe_phase_<%= modulgruppe.phase %>" >
|
||||
<h2><%= link_to modulgruppe.name, modulgruppe_path(modulgruppe) %>
|
||||
</h2>
|
||||
|
||||
<%= modulgruppe.desc%>
|
||||
<%= render :partial=>'moduls/kurz', :collection=>modulgruppe.moduls, :as=>:modul%>
|
||||
<br>
|
||||
|
||||
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modulgruppe_path(modulgruppe) %>
|
||||
<!-- dropdown menu links -->
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<%= link_to @modulgruppe.studium.name, studium_path(@modulgruppe.studium) %> <span class="divider">/</span></li>
|
||||
|
||||
|
||||
</ul><p id="notice"><%= notice %></p>
|
||||
<div class ="modulgruppe_phase_<%= @modulgruppe.phase %>">
|
||||
<h1>
|
||||
<%= @modulgruppe.name %>
|
||||
@@ -20,8 +26,7 @@
|
||||
|
||||
<span class="label"><%= I18n.t("common.actions")%></span>
|
||||
<div class="btn-group">
|
||||
<%= link_to I18n.t("modulgruppe.addmodul"), new_modul_path(:modulgruppen_id =>@modulgruppe.id),:class =>"btn" %>
|
||||
<%= link_to '<i class="icon-plus-sign"></i>'.html_safe+I18n.t("modulgruppe.addmodul"), new_modul_path(:modulgruppen_id =>@modulgruppe.id),:class =>"btn" %>
|
||||
<%= link_to I18n.t("modulgruppe.studium"), studium_path(@modulgruppe.studium),:class =>"btn" %>
|
||||
<%= link_to I18n.t("common.edit"), edit_modulgruppe_path(@modulgruppe),:class =>"btn" %>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user