X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ca22de4f2c68e4b14a6e2f0938a8657c33adc31..0bd6f889c5a4f8f13decd96d6ef478c29b0e388a:/app/views/browse/feature.html.erb diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index c3fadbe31..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 => "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") %>