X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8587c2a02bfafd7bf07e6f7130a9211f41da1757..7821bf48ad301c4d4253ed0ae7f6d53e2176b6bc:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 15c60beeb..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 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 %> -
    <%= @this_user.description.to_html %>