X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a5c8a3b7f8e02cbf7f5d2f84b9bdb2034fcf22ec..0b84885cfc566fb2d552c5681c11a2905d28f038:/app/views/browse/relation.rhtml diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index 5dc06f10a..e180da084 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,4 +1,23 @@ -

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 = t('browse.relation.relation') + ' | ' + @name +%> + + + + + + + + <%= render :partial => "map", :object => @relation %> + +
+

<%= t'browse.relation.relation_title', :relation_name => h(@name) %>

+
+ <%= render :partial => "navigation" %> +
+ <%= render :partial => "relation_details", :object => @relation %> +
+ <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"), + :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %> +