1 <% set_title t("browse.node.title_html", :name => printable_element_name(@feature)) %>
3 <%= render "sidebar_header", :title => t("browse.node.title_html", :name => printable_element_name(@feature)) %>
5 <%= render :partial => "browse/node", :object => @feature %>
7 <div class='secondary-actions'>
8 <%= link_to t("browse.view_details"), node_path(@feature.node_id) %>
9 <% if !@feature.redacted? %>
11 <%= link_to t("browse.download_xml"), node_version_path(*@feature.id) %>
12 <% elsif current_user&.moderator? %>
14 <% if !params[:show_redactions] %>
15 <%= link_to t("browse.view_redacted_data"), old_node_path(*@feature.id, :params => { :show_redactions => true }) %>
17 <%= link_to t("browse.view_redaction_message"), old_node_path(*@feature.id) %>
22 <div class='secondary-actions'>
23 <% if @feature.version > 1 %>
24 <%= link_to old_node_path(@feature.node_id, @feature.version - 1), :class => "icon-link" do %>
25 <%= previous_page_svg_tag :height => 11 %>
26 <%= "#{t('browse.version')} ##{@feature.version - 1}" %>
30 <%= link_to t("browse.view_history"), node_history_path(@feature.node_id) %>
31 <% if @feature.version < @feature.current_node.version %>
33 <%= link_to old_node_path(@feature.node_id, @feature.version + 1), :class => "icon-link" do %>
34 <%= "#{t('browse.version')} ##{@feature.version + 1}" %>
35 <%= next_page_svg_tag :height => 11 %>