Add zoom to note
[rails.git] / app / views / browse / note.html.erb
index f6db9f154c114c56e5c8aab28ba95ed9ba2f53a2..a377ada6a7d857735571478a19b7db473da50086 100644 (file)
@@ -6,7 +6,7 @@
 </h2>
 
 <div class="browse-section">
-  <div class="details">
+  <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) %>