1 <% set_title(t("browse.#{@type}.title_html", :name => printable_element_name(@feature))) %>
 
   3 <%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_element_name(@feature)) %>
 
   5 <%= render :partial => "browse/#{@type}", :object => @feature %>
 
   7 <% if @feature.visible? %>
 
   8   <div class='secondary-actions'>
 
   9     <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
 
  12 <div class='secondary-actions'>
 
  13   <% if @feature.version > 1 %>
 
  14     <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => 1 }, :class => "icon-link") do %>
 
  15       <%= previous_page_svg_tag :height => 11, :count => 2 %>
 
  16       <%= "#{t('browse.version')} #1" %>
 
  20     <%= link_to t("browse.view_history"), :controller => "old_#{@type.pluralize}" %>
 
  21   <% if current_user&.moderator? %>
 
  23     <%= link_to(t("browse.view_unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true }) %>
 
  25   <% if @feature.version > 1 %>
 
  27     <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version }, :class => "icon-link") do %>
 
  28       <%= "#{t('browse.version')} ##{@feature.version}" %>
 
  29       <%= next_page_svg_tag :height => 11, :count => 2 %>