Undo not working parts of the previous commit...

pull/6827/head
Felix Schäfer 14 years ago
parent a4d6a4e863
commit d03cfcfb89
  1. 2
      app/views/meetings/_contents.html.erb

@ -1,6 +1,6 @@
<div class="meeting_content <%= content_type %>"> <div class="meeting_content <%= content_type %>">
<div class="contextual"> <div class="contextual">
<%= 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') %> <%= link_to_if_authorized(l(:label_history), {:controller => content_type.pluralize, :action => 'history', :meeting_id => @meeting}, :class => 'icon icon-history') %>
</div> </div>
<h2><%= l(:"label_#{content_type}")%></h2> <h2><%= l(:"label_#{content_type}")%></h2>

Loading…
Cancel
Save