From 489dc933a23e8485e212b45ebc3db80475a85b62 Mon Sep 17 00:00:00 2001 From: HausdorffHimself Date: Sun, 1 Sep 2013 19:55:02 +0200 Subject: [PATCH] =?UTF-8?q?CHANGE:=20Link=20=C3=BCber=20gesamtes=20div?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themengruppen/_themengruppe.html.erb | 53 ++++++++++--------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/app/views/themengruppen/_themengruppe.html.erb b/app/views/themengruppen/_themengruppe.html.erb index 717b3ab..3b77624 100644 --- a/app/views/themengruppen/_themengruppe.html.erb +++ b/app/views/themengruppen/_themengruppe.html.erb @@ -1,34 +1,35 @@ +<%= link_to themengruppe do %>
-
- <%= image_tag themengruppe.picture.thumb.url,{:class=>"img-circle"} %> -
-
-

<%= link_to themengruppe.title, themengruppe %>

-
+
+ <%= image_tag themengruppe.picture.thumb.url,{:class=>"img-circle"} %> +
+
+

<%=themengruppe.title%>

+

-
-

- <%= if themengruppe.text.split.size > Themengruppe::WORD_COUNT - themengruppe.text.split[0..Themengruppe::WORD_COUNT].join(" ") + " ..." - else - themengruppe.text - end%> -

-
+
+

+ <%= if themengruppe.text.split.size > Themengruppe::WORD_COUNT + themengruppe.text.split[0..Themengruppe::WORD_COUNT].join(" ") + " ..." + else + themengruppe.text + end%> +

+
-
- <%= I18n.t("themengruppe.themen") %> -
    - <% themengruppe.themen.each do |t| %> -
  • - <%= render t %> -
  • - <% end %> -
-
+
+ <%= I18n.t("themengruppe.themen") %> +
    + <% themengruppe.themen.each do |t| %> +
  • + <%= render t %> +
  • + <% end %> +
+
- +<% end %>