X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..972363baf6688f82ba3b7aa8d54a4747b5f290a2:/app/views/browse/way_history.rhtml diff --git a/app/views/browse/way_history.rhtml b/app/views/browse/way_history.rhtml index 1eaf52ed5..edb967e9e 100644 --- a/app/views/browse/way_history.rhtml +++ b/app/views/browse/way_history.rhtml @@ -1,4 +1,8 @@ -

Way History: <%= h(@name) %>

+<% +@name = printable_name @way +@title = t('browse.way_history.way_history') + ' | ' + @name +%> +

<%= t'browse.way_history.way_history_title', :way_name => h(@name) %>

@@ -7,16 +11,9 @@ <%= render :partial => "way_details", :object => way %>
<% end %> - <%= link_to "Download XML", :controller => "old_way", :action => "history" %> - or - <%= link_to "view details", :action => "way" %> - - + <%= render :partial => "map", :object => @way %>
- <% if @way.visible %> - <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %> - <% else %> - Deleted - <% end %> + <%= t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"), + :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>