X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a5c8a3b7f8e02cbf7f5d2f84b9bdb2034fcf22ec..91aaae1933183fc9e7311abd3b815b5b74ce2d3c:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index b1c26f478..79c913a07 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,3 +1,23 @@ -

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

-<%= render :partial => 'common', :locals => { :obj => @way, :type => "way" } %> -<%= render :partial => 'tag_table', :locals => { :tags => @way.tags } %> +<% +@name = printable_name @way +@title = t('browse.way.way') + ' | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @way %> + +
+

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

+
+ <%= render :partial => "navigation" %> +
+ <%= render :partial => "way_details", :object => @way %> +
+ <%= t'browse.way.download', :download_xml_link => link_to(t('browse.way.download_xml'), :controller => "way", :action => "read"), + :view_history_link => link_to(t('browse.way.view_history'), :action => "way_history") %> +