Kalender überarbeitet Issue 91

This commit is contained in:
Andreas Stephanides
2013-11-28 10:14:36 +01:00
parent 6fa208dcbe
commit 0a507502ba
16 changed files with 72 additions and 19 deletions

View File

@@ -10,7 +10,8 @@
<small><%= neuigkeit.rubrik.name %></small>
<small class="pull-right"><%= "am "+ I18n.l(neuigkeit.try(:datum).try(:to_date)) unless neuigkeit.try(:datum).try(:to_date).nil? %></small>
</div>
<h1><%= neuigkeit.title%></h1>
<h1><%= image_tag("/calendar-day-icon-small.png") if neuigkeit.has_calentries? %>
<%= neuigkeit.title%></h1>
<%= raw(neuigkeit.text_first_words) unless neuigkeit.text.nil?%>
</div>
</div>