1 <% set_title(t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature))) %>
3 <%= render "sidebar_header", :title => t("browse.#{@type}.history_title_html", :name => printable_element_name(@feature)) %>
5 <%= render :partial => "browse/#{@type}", :collection => @feature.send(:"old_#{@type}s").reverse %>
7 <div class='secondary-actions'>
8 <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history" %>
10 <%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %>
11 <% if params[:show_redactions] %>
13 <%= link_to t("browse.view_history") %>
14 <% elsif current_user&.moderator? %>
16 <%= link_to t("browse.view_unredacted_history"), :params => { :show_redactions => true } %>