]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Fixed note creation halo to update on dragging
[rails.git] / app / views / browse / note.html.erb
index 7f863fef4fd66e14c6a6bbc5eb2e05243ff8cbad..d35ac84191a3efeb617df845ecc29e2effe6bc5b 100644 (file)
@@ -6,8 +6,13 @@
 </h2>
 
 <div class="browse-section">
 </h2>
 
 <div class="browse-section">
-  <h4><%= h(@note.comments.first.body.to_html) %></h4>
-  <div class="details">
+  <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" %>
       <br/>
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>