X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..206e1309a95b498a220d8de6cf4ed5970ebd6778:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index de2e93f94..c85ca5fd9 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -2,14 +2,17 @@
<%= user_image @this_user %>
-

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

+

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

<% if @user and @this_user.id == @user.id %> - + <% else %> - +
-
<%= @this_user.description.to_html %>
+ <% 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 %>