1 <% set_title t("browse.relation.title_html", :name => printable_element_name(@feature)) %>
3 <%= render "sidebar_header", :title => t("browse.relation.title_html", :name => printable_element_name(@feature)) %>
5 <%= render :partial => "browse/relation", :object => @feature %>
7 <div class='secondary-actions'>
8 <%= link_to t("browse.view_details"), relation_path(@feature.relation_id) %>
9 <% if !@feature.redacted? %>
11 <%= link_to t("browse.download_xml"), relation_version_path(*@feature.id) %>
12 <% elsif current_user&.moderator? %>
14 <% if !params[:show_redactions] %>
15 <%= link_to t("browse.view_redacted_data"), old_relation_path(*@feature.id, :params => { :show_redactions => true }) %>
17 <%= link_to t("browse.view_redaction_message"), old_relation_path(*@feature.id) %>
22 <div class='secondary-actions'>
23 <% if @feature.version > 1 %>
24 <%= link_to old_relation_path(@feature.relation_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"), relation_history_path(@feature.relation_id) %>
31 <% if @feature.version < @feature.current_relation.version %>
33 <%= link_to old_relation_path(@feature.relation_id, @feature.version + 1), :class => "icon-link" do %>
34 <%= "#{t('browse.version')} ##{@feature.version + 1}" %>
35 <%= next_page_svg_tag :height => 11 %>