]> git.openstreetmap.org Git - rails.git/blob - app/views/old_ways/show.html.erb
Don't link to xml download from redacted element versions
[rails.git] / app / views / old_ways / show.html.erb
1 <% set_title t("browse.way.title_html", :name => printable_name(@feature)) %>
2
3 <%= render "sidebar_header", :title => t("browse.way.title_html", :name => printable_name(@feature)) %>
4
5 <%= render :partial => "browse/way", :object => @feature %>
6
7 <% unless @feature.redacted? %>
8   <div class='secondary-actions'>
9     <%= link_to t("browse.download_xml"), way_version_path(*@feature.id) %>
10   </div>
11 <% end %>