locale und design

This commit is contained in:
Thomas Blazek
2013-08-23 17:24:15 +02:00
parent 2548ddb9ab
commit 069cd4b763
7 changed files with 21 additions and 11 deletions

View File

@@ -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>