X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7c55a5cb3b07f40ab1897a7d746de27317255c42..6c4b028232f5ad687c0def013b8de6a2b4013b4f:/app/views/old_ways/show.html.erb diff --git a/app/views/old_ways/show.html.erb b/app/views/old_ways/show.html.erb index 6e66fa515..1e4d14c80 100644 --- a/app/views/old_ways/show.html.erb +++ b/app/views/old_ways/show.html.erb @@ -1,11 +1,7 @@ -<% set_title t("browse.way.title_html", :name => printable_name(@feature)) %> +<% set_title t("browse.way.title_html", :name => printable_element_name(@feature)) %> -<%= render "sidebar_header", :title => t("browse.way.title_html", :name => printable_name(@feature)) %> +<%= render "sidebar_header", :title => t("browse.way.title_html", :name => printable_element_name(@feature)) %> <%= render :partial => "browse/way", :object => @feature %> -<% unless @feature.redacted? %> -
- <%= link_to t("browse.download_xml"), way_version_path(*@feature.id) %> -
-<% end %> +<%= render :partial => "browse/version_actions" %>