X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..d7d317f694b8d75aa6a3c2e5b5fee0903c7b61ed:/app/views/browse/relation.html.erb?ds=sidebyside diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index e180da084..2128d18a9 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -2,22 +2,13 @@ @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") %> -
+<% content_for :head do %> +<%= stylesheet_link_tag 'browse' %> +<% end %> +<%= render :partial => "navigation" %> +

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

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