]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.html.erb
Rename showData to updateData in start.js.erb to resolve name clash
[rails.git] / app / views / browse / relation.html.erb
index b1184d647b8ba19654c9a76945aa4e9baf0befa4..2128d18a9ab226189ee3991f064401c0bb5cf1be 100644 (file)
@@ -2,10 +2,13 @@
 @name = printable_name @relation
 @title = t('browse.relation.relation') + ' | ' + @name
 %>
+<% content_for :head do %>
+<%= stylesheet_link_tag 'browse' %>
+<% end %>
 <%= render :partial => "navigation" %>
-<h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
+<h2><%= t'browse.relation.relation_title', :relation_name => @name %></h2>
 <%= render :partial => "map", :object => @relation %>
 <%= render :partial => "relation_details", :object => @relation %>
 <hr />
-<%= 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") %>
+<%= 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") %>