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 <% unless @feature.redacted? %>
9 <%= link_to t("browse.download_xml"), relation_version_path(*@feature.id) %>
12 <%= link_to t("browse.view_details"), relation_path(@feature.relation_id) %>
15 <div class='secondary-actions'>
16 <% if @feature.version > 1 %>
17 <%= link_to old_relation_path(@feature.relation_id, @feature.version - 1), :class => "icon-link" do %>
18 <%= previous_page_svg_tag :height => 11 %>
19 <%= "#{t('browse.version')} ##{@feature.version - 1}" %>
23 <%= link_to t("browse.view_history"), relation_history_path(@feature.relation_id) %>
24 <% if @feature.version < @feature.current_relation.version %>
26 <%= link_to old_relation_path(@feature.relation_id, @feature.version + 1), :class => "icon-link" do %>
27 <%= "#{t('browse.version')} ##{@feature.version + 1}" %>
28 <%= next_page_svg_tag :height => 11 %>