Studienansicht neu

This commit is contained in:
Thomas Blazek
2013-08-05 18:24:34 +02:00
parent e3f7d7e472
commit abf367b8e4
9 changed files with 116 additions and 107 deletions

View File

@@ -1,7 +1,6 @@
<div class="studium">
<h2><%= link_to studium.name + " " + studium.zahl.to_s, studium_semesteransicht_path(studium)%></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>
<%= !(studium.desc.to_s == "") ? studium.desc.html_safe : I18n.t("keine.beschreibung")%></p>
<div><%=link_to "Link zur Modulgruppenansicht",studium_path(studium) %> </div>
</ul>
</div>