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 mb-3'>
9 <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
14 <ol class="breadcrumb mb-1">
15 <li class="breadcrumb-item active" aria-current="page">
16 <%= tag.span t(@type, :scope => "browse.versions_navigation"), :class => "py-1 px-2 rounded bg-body-secondary" %>
18 <li class="breadcrumb-item">
19 <%= link_to t("browse.versions_navigation.history"), :controller => "old_#{@type.pluralize}" %>
20 <% if current_user&.moderator? %>
22 <%= link_to t("browse.versions_navigation.unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true } %>
27 <%= element_versions_pagination(@feature.version, :active_version => @feature.version) do |v|
28 { :href => { :controller => "old_#{@type.pluralize}", :action => :show, :version => v },
29 :title => t("browse.versions_navigation.version", :version => v) }