1 <div class='secondary-actions mb-3'>
 
   2   <% if !@feature.redacted? %>
 
   3     <%= link_to t("browse.download_xml"), send(:"api_#{@type}_version_path", *@feature.id) %>
 
   4   <% elsif current_user&.moderator? %>
 
   5     <% if !params[:show_redactions] %>
 
   6       <%= link_to t(".view_redacted_data"), :params => { :show_redactions => true } %>
 
   8       <%= link_to t(".view_redaction_message") %>
 
  14   <ol class="breadcrumb mb-1">
 
  15     <li class="breadcrumb-item">
 
  16       <%= link_to t(@type, :scope => "browse.versions_navigation"), @current_feature %>
 
  18     <li class="breadcrumb-item">
 
  19       <%= link_to t("browse.versions_navigation.history"), :action => :index %>
 
  21     <li class="breadcrumb-item active" aria-current="page">
 
  22       <a href="#versions-navigation-active-page-item" class="py-1 px-2 rounded bg-body-secondary link-body-emphasis">
 
  23         <%= t "browse.versions_navigation.version", :version => @feature.version %>
 
  28   <%= element_versions_pagination(@current_feature.version, :active_version => @feature.version) do |v|
 
  29         { :href => { :version => v },
 
  30           :title => t("browse.versions_navigation.version", :version => v) }