<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
- <% if current_user && current_user != @note.author %>
- <%= link_to new_report_url(reportable_id: @note.id, reportable_type: @note.class.name), :title => t('browse.note.report') do %>
- ⚐
- <% end %>
- <% end %>
</h2>
<div class="browse-section">
<br/>
<%= note_event(@note.status, @note.closed_at, @note_comments.last.author) %>
<% end %>
+ <% if current_user && current_user != @note.author %>
+ <%= link_to new_report_url(reportable_id: @note.id, reportable_type: @note.class.name), :title => t('browse.note.report') do %>
+ ⚐
+ <% end %>
+ <% end %>
</div>
<% if @note_comments.find { |comment| comment.author.nil? } -%>
</li>
<% end %>
+ <% if current_user and @this_user.id != current_user.id %>
+ <li>
+ <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>
+ ⚐
+ <% end %>
+ </li>
+ <% end %>
</ul>
<% end %>
</p>
</div>
- <% if current_user and @this_user.id != current_user.id %>
- <div class="report-button">
- <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>
- ⚐
- <% end %>
- </div>
- <% end %>
-
<div class="user-description richtext"><%= @this_user.description.to_html %></div>
</div>