X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0cb97bd7d96030c07d9716c3d26d39bcd4f712ff..c0b4c1b9059890e1fb683a9822b966d4efd2698c:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index e1c306071..2e86e65f2 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,16 +1,20 @@ -<%= 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 %> + + + + + + + + <%= 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" %> +