]> 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 7f863fef4fd66e14c6a6bbc5eb2e05243ff8cbad..90d34b5742dbbd8ea6a3c5f2e735efc132327faa 100644 (file)
@@ -6,8 +6,12 @@
 </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 %>">
     <%= note_event('open', @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br/>