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

View File

@@ -1,6 +1,6 @@
<h1>
<%= @neuigkeit.title%>
</h1>
<%= image_tag @neuigkeit.picture.big_thumb.url %>
<%= image_tag URI.parse(root_url(request.host_with_port))+ @neuigkeit.picture.big_thumb.url %>
<%= raw(@neuigkeit.text) %>
<p> Eine Nachricht aus deiner Fachschaft! wenn du diese Neuigkeiten nicht mehr bekommen willst hast du leider Pech gehabt es gibt keine Möglichkeit aus der FET wieder auszutreten.</p>