X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/206e1309a95b498a220d8de6cf4ed5970ebd6778..9046b5ba8d07cd8907685ab8da7f73829cb692c5:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index c85ca5fd9..6bb64504d 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -81,6 +81,7 @@ <%= link_to t('user.view.add as friend'), make_friend_path(:display_name => @this_user.display_name) %> <% end %> + <% if @this_user.blocks.exists? %>
  • <%= link_to t('user.view.block_history'), :controller => 'user_blocks', :action => 'blocks_on', :display_name => @this_user.display_name %> @@ -155,8 +156,8 @@ <% 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') %> + <%= 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 %>