]> 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 8e277d25f97b6f794052b11ddbffe7030f48c5a1..a20de88a0e307b604c867930ed3e93d76cc56107 100644 (file)
@@ -1,5 +1,10 @@
-<div class='browse-section header'>
-  <h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %></h2>
+<% 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>
     <%= t "browse.note.opened" %>: 
     <abbr><%= note_event(@note.created_at, @note.author) %></abbr> by