X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/67292724441a7a447a9ea579a36dee64825dedaf..b30983f02bd1a0963157c14f14e996f258936625:/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 b1184d647..9d1cee107 100644
--- a/app/views/browse/relation.html.erb
+++ b/app/views/browse/relation.html.erb
@@ -2,10 +2,21 @@
@name = printable_name @relation
@title = t('browse.relation.relation') + ' | ' + @name
%>
-<%= 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 :head do %>
+ <%= stylesheet_link_tag 'browse' %>
+ <%= javascript_include_tag 'index' %>
+<% end %>
+
+<% content_for :sidebar do %>
+ <%= t'browse.relation.relation_title', :relation_name => @name %>
+
+ <%= 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") %>
+
+<% end %>
+
+<%= render :template => 'layouts/map' %>