X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/960d13488a875245570ee498ee9a1ed7cac37bbe..abb66fa808f09469306e6b03b21539eb57b74d38:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index e1c306071..75b333443 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,16 +1,26 @@ -<%= render :partial => 'navigation', :locals => { :type => "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" %> + |
+ + <% if @way.visible %> + <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %> + <% else %> + Deleted + <% end %> + | +