</li>
<% end %>
+ <% if current_user and @this_user.id != current_user.id %>
+ <li>
+ <%= report_link(t(".report"), @this_user) %>
+ </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>
<% nearby = @this_user.nearby - friends %>
<div class="activity-block column-1">
- <h3><%= t 'user.view.your friends' %></h3>
+ <h3><%= t 'user.view.my friends' %></h3>
<% if friends.empty? %>
<%= t 'user.view.no friends' %>