X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..206e1309a95b498a220d8de6cf4ed5970ebd6778:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 104b1ec4a..c85ca5fd9 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), :title => t('user.view.report') do%> + <%= image_tag('notice.png', size: '10x10') %> + <% end %> +
+ <% end %> +
<%= @this_user.description.to_html %>