diff --git a/app/views/themen/_small.html.erb b/app/views/themen/_small.html.erb index 7fa22c6..397d435 100644 --- a/app/views/themen/_small.html.erb +++ b/app/views/themen/_small.html.erb @@ -3,7 +3,7 @@

<%= small.title %> <%= link_to fa_icon("pencil"), verwalten_thema_path(small) if can? :edit, small %>

<% if small.is_outdated? %> -
<%= I18n.t("thema.outdated") %> <%= link_to"Als aktuell markieren",is_updated_thema_path(small), :class=>:btn %>
+
<%= I18n.t("thema.outdated") %> <%= link_to"Als aktuell markieren",is_updated_thema_path(small), :class=>:btn if can? :is_updated, small%>
<% end %> <% if small.isdraft %>
<%= I18n.t("thema.isdraft") %>