Moved note description out of the sidebar header

Some indentation too.
This commit is contained in:
Aaron Lidman 2013-11-13 12:23:58 -08:00
parent b8a449b4b1
commit 1769971cde
2 changed files with 14 additions and 2 deletions

View 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">
<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 %>">
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
<br/>
<%= note_event('open', @note.created_at, @note.author) %>
<% if @note.status == "closed" %>