X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d69a518b9e69107503b332728dfa583594293ea1..d06081a63ed8e6bfb2e05f087aada3ab2fb4c2b4:/app/views/browse/way.rhtml?ds=sidebyside diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index e1c306071..9a733bf9d 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,16 +1,24 @@ -<%= render :partial => 'navigation', :locals => { :type => "way" } %> -

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

-<%= render :partial => 'common', :locals => { :obj => @way, :type => "way" } %> -<%= render :partial => 'tag_table', :locals => { :tags => @way.tags } %> - -<% if @way.nodes.length != 0 %> -
-
-

Parts:

- -
-<% end %> +<% +@name = printable_name @way +@title = 'Way | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @way %> + +
+

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

+
+ <%= render :partial => "navigation" %> +
+ <%= render :partial => "way_details", :object => @way %> +
+ <%= link_to "Download XML", :controller => "way", :action => "read" %> + or + <%= link_to "view history", :action => "way_history" %> +