]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Add coordinate detail to node pages
[rails.git] / app / views / browse / note.html.erb
index a377ada6a7d857735571478a19b7db473da50086..90d34b5742dbbd8ea6a3c5f2e735efc132327faa 100644 (file)
@@ -2,13 +2,16 @@
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= h(@note.comments.first.body.to_html) %>
+  <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
 </h2>
 
 <div class="browse-section">
+  <h4><%= t('browse.note.mine.description') %></h4>
+  <div class="note-description">
+    <%= h(@note.comments.first.body.to_html) %>
+  </div>
+
   <div class="details" data-coordinates="<%= number_with_delimiter(@note.lat) %>,<%=number_with_delimiter(@note.lon) %>" data-status="<%= @note.status %>">
-    <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
-      <br/>
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>