Move element history actions to old element controllers

This commit is contained in:
Anton Khorev 2024-03-14 18:10:18 +03:00
parent c91bd55222
commit d87d06fee5
13 changed files with 228 additions and 237 deletions

View file

@ -17,10 +17,10 @@
<% end %>
&middot;
<% end %>
<%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
<%= link_to t("browse.view_history"), :controller => "old_#{@type.pluralize}" %>
<% if current_user&.moderator? %>
&middot;
<%= link_to(t("browse.view_unredacted_history"), :action => "#{@type}_history", :params => { :show_redactions => true }) %>
<%= link_to(t("browse.view_unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true }) %>
<% end %>
<% if @feature.version > 1 %>
&middot;