X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/735493837b036f5609f42a363c7f58f04525194c..b681163e98fda3e8e1f7fc289cc651c9f09a90ed:/app/views/browse/relation.html.erb diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index b1184d647..3ba355054 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -2,10 +2,20 @@ @name = printable_name @relation @title = t('browse.relation.relation') + ' | ' + @name %> +<% content_for :head do %> +<%= stylesheet_link_tag 'browse' %> +<% end %> + +<% content_for :heading do %> +

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

+ +<% 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") %> + +
+ <%= render :partial => "relation_details", :object => @relation %> +
\ No newline at end of file