diff --git a/app/views/home/infoscreen.html.erb b/app/views/home/infoscreen.html.erb index 581cf91..2f2b0c8 100644 --- a/app/views/home/infoscreen.html.erb +++ b/app/views/home/infoscreen.html.erb @@ -15,30 +15,29 @@ <% i=1 %> <% @neuigkeiten.each do |n| %> -
<% @toolbar_elements=[];@questions=[] %> +
<% @toolbar_elements=[];@questions=[] %>
- <% unless n.picture_robust.big_thumb.to_s.empty? %> -

-
<%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %> -

- <% end %> -

- <% if n.has_calentries? %> -
- <%= fa_icon("calendar 2x") %> - <%= n.relevant_calentry.text %> -
- <% elsif n.has_meeting? %> -
- <%= fa_icon("calendar 2x") %> - <%= n.meeting.calentry.text unless n.meeting.calentry.nil? %> -
+ <% unless n.picture_robust.big_thumb.to_s.empty? %> +

+
<%= link_to image_tag(n.picture_robust.big_thumb),n.picture_robust.try(:url) %>

+ <% end %> +

+ <% if n.has_calentries? %> +
+ <%= fa_icon("calendar 2x") %> + <%= n.relevant_calentry.text %> +
+ <% elsif n.has_meeting? %> +
+ <%= fa_icon("calendar 2x") %> + <%= n.meeting.calentry.text unless n.meeting.calentry.nil? %> +
- <% end %> -

+ <% end %> +