forked from bofh/fetsite
neuigkeit thumb
This commit is contained in:
@@ -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%>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user