neuigkeit update

This commit is contained in:
Andreas Stephanides
2015-03-02 19:12:07 +01:00
parent 1926c51836
commit 8718a77e4f
3 changed files with 7 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
<% c =[:linkbox] %>
<% c << "color-"+neuigkeit.rubrik.color.to_s+"-dark" unless neuigkeit.rubrik.color.nil? %>
<% c << "unpublished" unless neuigkeit.published? %>
<%= link_to [neuigkeit.rubrik,neuigkeit], {class: c} do %>
<%= render :partial=>"neuigkeiten/compact",:locals=> {:neuigkeit=> neuigkeit} %>
<% end %>