]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
Merge remote-tracking branch 'upstream/pull/2991' into master
[rails.git] / app / views / browse / feature.html.erb
index 6c94b0a9dfd50aa8dab39c5ec33611c29c4abd2e..c5c26330e46dbac17cb071ea6c96a9f218cd0f22 100644 (file)
@@ -1,9 +1,6 @@
-<% set_title(t("browse.#{@type}.title", :name => printable_name(@feature))) %>
+<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
 
-<h2>
-  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t("browse.#{@type}.title", :name => printable_name(@feature)) %>
-</h2>
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
 
 <%= render :partial => @type, :object => @feature %>