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 Browser: <%= h(@name) %>

-<%= render :partial => 'common', :locals => { :obj => @relation, :type => "relation" } %> -<%= render :partial => 'tag_table', :locals => { :tags => @relation.tags } %> -<%= render :partial => 'relation_members', :locals => { :members => @relation.relation_members } %> + + + + + + + + + +
+

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 %> +