X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52611a5bfa69165179bd871b925b5f8b14942e2e..69c1f6d1862aad00f80a0d2e32dbbe70aba65649:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index cf74fc0e0..c85ca5fd9 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -2,9 +2,9 @@
<%= 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 %> - +
+ <% 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 %>