This commit is contained in:
Andreas Stephanides
2013-11-11 20:42:07 +01:00
parent d4b7446cdb
commit 0bb8460ca4
3 changed files with 7 additions and 4 deletions

View File

@@ -105,14 +105,11 @@ GEM
multipart-post (1.2.0)
mysql2 (0.3.13)
net-ldap (0.2.2)
<<<<<<< HEAD
nokogiri (1.5.6)
=======
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
nokogiri (1.6.0-x86-mingw32)
mini_portile (~> 0.5.0)
>>>>>>> d314a8126862e76d94c84a289a8883167b58a001
oauth2 (0.8.1)
faraday (~> 0.8)
httpauth (~> 0.1)

View File

@@ -12,7 +12,7 @@
<b><%= studium.typ%> </b>
</p>
<p><b><%=I18n.t("studien.desc")%>:</b><br>
<%= !(studium.desc.to_s == "") ? studium.desc.html_safe : I18n.t("keine.beschreibung")%>
<%= !(studium.desc.to_s == "") ? studium.desc_first_words.html_safe : I18n.t("keine.beschreibung")%>
</p>
</div>

View File

@@ -9,7 +9,13 @@
</div>
</div>
<div class="row-fluid">
<% if params[:info]==true %>
<%= raw(@studium.desc) %>
<% else %>
<%= @studium.desc_first_words %> <%= link_to I18n.t('studium.info'), studium_path(@studium, :ansicht=>params[:ansicht], :info=>true) %>
<% end %>
<% @studienphasen.each do |sp| %>
<% sp[:modulgruppen].each do |row| %>
<div class="row-fluid">