X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d021f7b6254185d22a8d316acf09483b15ac0361..1cb0767e3dae1312d0dfefe011f339d814eaf2d5:/app/views/browse/feature.html.erb diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 5674f21b0..75e54f0b2 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -1,14 +1,14 @@ -<% 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)) %> + <%= t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>

<%= render :partial => @type, :object => @feature %>
- <%= link_to(t('browse.download_xml'), :controller => @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") %>