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