X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b38343e5bd95230c6bb2159700102dbca247fa03..0c7ad105734b2ec12731bff4b912cc17b1a7cbfb:/app/views/browse/feature.html.erb?ds=inline diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index d21d8d0c2..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 => "api/#{@type.pluralize}", :action => :show) %> + <%= 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") %>