X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ca38904dc11fa7329e186bd675e15e3c401ca86..abb66fa808f09469306e6b03b21539eb57b74d38:/app/views/browse/relation.rhtml diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index 574a4ea2b..8d4f94bf5 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,5 +1,26 @@ -<%= render :partial => 'navigation', :locals => { :type => "relation" } %> -
+ Relation: <%= h(@name) %>+ |
+ + <%= render :partial => "navigation" %> + | +
+ <%= render :partial => "relation_details", :object => @relation %>
+ + <%= link_to "Download XML", :controller => "relation", :action => "read" %> + or + <%= link_to "view history", :action => "relation_history" %> + |
+ + <% if @relation.visible %> + <%= render :partial => "map", :locals => { :type => "relation", :id => @relation.id } %> + <% else %> + Deleted + <% end %> + | +