X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/browse/relation.html.erb diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index 28e251ac2..9d1cee107 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -2,13 +2,21 @@ @name = printable_name @relation @title = t('browse.relation.relation') + ' | ' + @name %> + <% content_for :head do %> -<%= stylesheet_link_tag 'browse' %> + <%= stylesheet_link_tag 'browse' %> + <%= javascript_include_tag 'index' %> <% end %> -<%= render :partial => "navigation" %> -

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

-<%= render :partial => "map", :object => @relation %> -<%= render :partial => "relation_details", :object => @relation %> -
-<%= link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read") %> -| <%= 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' %>