X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/54bed8e9c0d97f18abee13f8e424ac981c5826d2..e670da54cbc4a7b00525b8decb506a23deddd918:/app/views/browse/relation.html.erb diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index b1184d647..39f642417 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -1,11 +1,17 @@ <% -@name = printable_name @relation -@title = t('browse.relation.relation') + ' | ' + @name + @name = printable_name @relation + set_title(t('browse.relation.relation') + ' | ' + @name) %> -<%= render :partial => "navigation" %> -

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

-<%= render :partial => "map", :object => @relation %> + +

+ + <%= t'browse.relation.relation_title', :relation_name => @name %> +

+ <%= 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") %> + +
+ <%= link_to(t('browse.download_xml'), :controller => "relation", :action => "read") %> + · + <%= link_to(t('browse.view_history'), :action => "relation_history") %> +