diff --git a/app/views/meetings/_contents.html.erb b/app/views/meetings/_contents.html.erb index b0cbfa8d40..5bc3327626 100644 --- a/app/views/meetings/_contents.html.erb +++ b/app/views/meetings/_contents.html.erb @@ -1,6 +1,6 @@
- <%= link_to l(:button_edit), "#", :class => 'icon icon-edit', :accesskey => accesskey(:edit), :onclick => "Element.show(\"edit-#{content_type}\"); Element.hide(\"#{content_type}-text\"); return false;" if (authorize_for(content_type.pluralize, 'update') && !content.class == "MeetingContent::Version") %> + <%= link_to l(:button_edit), "#", :class => 'icon icon-edit', :accesskey => accesskey(:edit), :onclick => "Element.show(\"edit-#{content_type}\"); Element.hide(\"#{content_type}-text\"); return false;" if authorize_for(content_type.pluralize, 'update') %> <%= link_to_if_authorized(l(:label_history), {:controller => content_type.pluralize, :action => 'history', :meeting_id => @meeting}, :class => 'icon icon-history') %>

<%= l(:"label_#{content_type}")%>