X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..cf00e528cbe94229839f3f70dd2a1c04d9205edd:/app/views/browse/relation.rhtml?ds=inline diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index 574a4ea2b..89f826c17 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,5 +1,24 @@ -<%= 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 } %> +<% +@name = printable_name @relation +@title = 'Relation | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @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" %> +