neuigkeit thumb

This commit is contained in:
Andreas Stephanides
2014-10-19 21:59:11 +02:00
parent 3254cc86e8
commit e548933cbd
2 changed files with 3 additions and 1 deletions

View File

@@ -28,10 +28,12 @@
<%= @neuigkeit.author.text+ " "+ I18n.t("neuigkeit.am")+" " + I18n.l(@neuigkeit.try(:datum).try(:to_date)) unless @neuigkeit.try(:datum).try(:to_date).nil? %>
</span>
<div class="media">
<% unless @neuigkeit.picture.big_thumb.to_s.empty? %>
<div class="pull-left" href="#">
<p><br><%= link_to image_tag(@neuigkeit.picture.big_thumb.url),@neuigkeit.picture.try(:url) %>
</p>
</div>
<% end %>
<div class="media-body">
<h1>
<%= @neuigkeit.title%>