X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b650a2272544c51ee9ec8bce33bcb113bfd579e8..f3519e97819cc5a5e2c2f9931c7d565b8e5227c8:/app/views/user/view.html.erb?ds=inline diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index fc7b59929..5ff594dd1 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,referer: request.fullpath), :title => t('user.view.report') do%> +  ⚐ + <% end %> +
+ <% end %> +
<%= @this_user.description.to_html %>