<div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">
<%= note_event("open", @note.created_at, @note.author) %>
<% if @note.status == "closed" %>
<div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">
<%= note_event("open", @note.created_at, @note.author) %>
<% if @note.status == "closed" %>