X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b30983f02bd1a0963157c14f14e996f258936625..e670da54cbc4a7b00525b8decb506a23deddd918:/app/views/browse/relation.html.erb diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index 9d1cee107..39f642417 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -1,22 +1,17 @@ <% -@name = printable_name @relation -@title = t('browse.relation.relation') + ' | ' + @name + @name = printable_name @relation + set_title(t('browse.relation.relation') + ' | ' + @name) %> -<% content_for :head do %> - <%= stylesheet_link_tag 'browse' %> - <%= javascript_include_tag 'index' %> -<% end %> +

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

-<% content_for :sidebar do %> -

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

+<%= render :partial => "relation_details", :object => @relation %> - <%= render :partial => "relation_details", :object => @relation %> - - -<% end %> - -<%= render :template => 'layouts/map' %> +
+ <%= link_to(t('browse.download_xml'), :controller => "relation", :action => "read") %> + · + <%= link_to(t('browse.view_history'), :action => "relation_history") %> +