X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4ca38904dc11fa7329e186bd675e15e3c401ca86..1262b376ef56da9f5b8ec6cfd708620069f0ff87:/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" %> +