-<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
+<% set_title(t("browse.#{@type}.title_html", :name => printable_element_name(@feature))) %>
-<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_element_name(@feature)) %>
-<%= render :partial => @type, :object => @feature %>
+<%= render :partial => "browse/#{@type}", :object => @feature %>
<% if @feature.visible? %>
<div class='secondary-actions'>
<% end %>
·
<% end %>
- <%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
+ <%= link_to t("browse.view_history"), :controller => "old_#{@type.pluralize}" %>
+ <% if current_user&.moderator? %>
+ ·
+ <%= link_to(t("browse.view_unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true }) %>
+ <% end %>
<% if @feature.version > 1 %>
·
<%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version }, :class => "icon-link") do %>