]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Moved note description out of the sidebar header
[rails.git] / app / views / browse / note.html.erb
index f6db9f154c114c56e5c8aab28ba95ed9ba2f53a2..d35ac84191a3efeb617df845ecc29e2effe6bc5b 100644 (file)
@@ -2,12 +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">
-  <div class="details">
-    <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
+  <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 %>">
       <br/>
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>