X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/582ab35ecd0b0cfacaedf8cbe1d6eadff302973b..f3519e97819cc5a5e2c2f9931c7d565b8e5227c8:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 104b1ec4a..5ff594dd1 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -4,10 +4,10 @@

<%= @this_user.display_name %><%= role_icons(@this_user) %>

<% if @user and @this_user.id == @user.id %> - + <% else %> - +
+ <% if @user and @this_user.id != @user.id %> +
+ <%= link_to new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, reported_user_id: @this_user.id,referer: request.fullpath), :title => t('user.view.report') do%> +  ⚐ + <% end %> +
+ <% end %> +
<%= @this_user.description.to_html %>