X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4b17b92da09820dd7bf61a640fd37458b82b06fe..d414ffc61a0f6505f1d06e89e8668fa5b49d607e:/app/views/browse/relation.html.erb?ds=inline diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index b8d0bc3b5..1e3af0df2 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -2,13 +2,20 @@ @name = printable_name @relation @title = t('browse.relation.relation') + ' | ' + @name %> + <% content_for :head do %> -<%= stylesheet_link_tag 'browse' %> + <%= stylesheet_link_tag 'browse' %> <% end %> -<%= render :partial => "navigation" %> -

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

-<%= render :partial => "map", :object => @relation %> -<%= 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") %> + +<% content_for :sidebar do %> +

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

+ + <%= render :partial => "relation_details", :object => @relation %> + + +<% end %> + +<%= render :template => 'layouts/map' %>