]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Rationalize browse translation keys
[rails.git] / app / views / browse / note.html.erb
index 7f863fef4fd66e14c6a6bbc5eb2e05243ff8cbad..f6db9f154c114c56e5c8aab28ba95ed9ba2f53a2 100644 (file)
@@ -2,12 +2,13 @@
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+  <%= h(@note.comments.first.body.to_html) %>
 </h2>
 
 <div class="browse-section">
-  <h4><%= h(@note.comments.first.body.to_html) %></h4>
   <div class="details">
+    <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+      <br/>
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>