1 <div class='secondary-actions'>
2 <%= link_to t("browse.view_details"), :controller => :browse, :action => @type %>
3 <% if !@feature.redacted? %>
5 <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => :show %>
6 <% elsif current_user&.moderator? %>
8 <% if !params[:show_redactions] %>
9 <%= link_to t("browse.view_redacted_data"), :params => { :show_redactions => true } %>
11 <%= link_to t("browse.view_redaction_message") %>
16 <div class='secondary-actions'>
17 <% if @feature.version > 1 %>
18 <%= link_to({ :version => @feature.version - 1 }, { :class => "icon-link" }) do %>
19 <%= previous_page_svg_tag :height => 11 %>
20 <%= "#{t('browse.version')} ##{@feature.version - 1}" %>
24 <%= link_to t("browse.view_history"), :controller => :browse, :action => "#{@type}_history" %>
25 <% unless @feature.latest_version? %>
27 <%= link_to({ :version => @feature.version + 1 }, { :class => "icon-link" }) do %>
28 <%= "#{t('browse.version')} ##{@feature.version + 1}" %>
29 <%= next_page_svg_tag :height => 11 %>