<%= 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/>
- <% if @note.comments.length > 1 %>
+ <% if current_user && current_user != @note.author %>
+ <p class="deemphasize"><%= report_link(t(".report"), @note) %></p>
+ <% end %>
+
+ <% if @note_comments.length > 1 %>
<li id="c<%= comment.id %>">
<small class='deemphasize'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
<%= comment.body.to_html %>
<li id="c<%= comment.id %>">
<small class='deemphasize'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
<%= comment.body.to_html %>