X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..e41751fb32a72944e6743456e096d95665431d4d:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 777f16389..be2e90b8a 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -102,6 +102,13 @@ <% end %> + <% if current_user and @this_user.id != current_user.id %> +
  • + <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %> +  ⚐ + <% end %> +
  • + <% end %> <% end %> @@ -154,14 +161,6 @@

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