]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Update title on pushState, closes #33
[rails.git] / app / views / browse / note.html.erb
index 061a86b067c220ac2a3dffa37396fdc98c42db94..a20de88a0e307b604c867930ed3e93d76cc56107 100644 (file)
@@ -1,5 +1,8 @@
-<h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+<% set_title("#{t('browse.note.title')} | #{@note.id}") %>
+
+<h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+  <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
 </h2>
 <div class="browse-section">
   <span>