]> git.openstreetmap.org Git - rails.git/commitdiff
Moved note description to the sidebar header
authorAaron Lidman <aaronlidman@gmail.com>
Tue, 12 Nov 2013 18:09:46 +0000 (10:09 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Tue, 12 Nov 2013 18:09:46 +0000 (10:09 -0800)
app/views/browse/note.html.erb
config/locales/en.yml

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/>
index 1e3da2ad78a452fb75fed8fd933e3f120bf0c370..0253a7f2124a4a92fc7ad2dc44777b054523d2fe 100644 (file)
@@ -283,8 +283,8 @@ en:
     note:
       title: "Note"
       new_note: "Add a note"
-      open_title: "Unresolved note%{note_name}"
-      closed_title: "Resolved note%{note_name}"
+      open_title: "Unresolved note #%{note_name}"
+      closed_title: "Resolved note #%{note_name}"
       opened: "Opened"
       last_modified: "Last modified"
       closed: "Closed"