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