X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..675f72fe359748ac0b573eadcc3c4248d6a477e5:/app/views/browse/feature.html.erb
diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb
index 38657f4d1..c5c26330e 100644
--- a/app/views/browse/feature.html.erb
+++ b/app/views/browse/feature.html.erb
@@ -1,14 +1,11 @@
-<% set_title(t("browse.#{@type}.title", :name => printable_name(@feature))) %>
+<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
-
-
- <%= raw t("browse.#{@type}.title", :name => printable_name(@feature)) %>
-
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
<%= render :partial => @type, :object => @feature %>
- <%= link_to(t('browse.download_xml'), :controller => @type, :action => "read") %>
+ <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
·
- <%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
+ <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>