X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7a4115f090c6a6f923b2fe31b505982ac006e992..2b7a48029bff06c190544f91c5969b09aeae552b:/app/views/users/show.html.erb
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 5e8398b16..efeac90bc 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -35,7 +35,7 @@
<% if current_user.blocks.exists? %>
- <%= link_to t(".blocks on me"), user_blocks_on_path(current_user) %>
+ <%= link_to t(".blocks on me"), user_received_blocks_path(current_user) %>
<%= number_with_delimiter(current_user.blocks.active.size) %>
<% end %>
@@ -84,16 +84,16 @@
<% if current_user %>
<% if current_user.friends_with?(@user) %>
- <%= link_to t(".remove as friend"), remove_friend_path(:display_name => @user.display_name), :method => :post %>
+ <%= link_to t(".unfollow"), remove_friend_path(:display_name => @user.display_name), :method => :post %>
<% else %>
- <%= link_to t(".add as friend"), make_friend_path(:display_name => @user.display_name), :method => :post %>
+ <%= link_to t(".follow"), make_friend_path(:display_name => @user.display_name), :method => :post %>
<% end %>
<% end %>
<% if @user.blocks.exists? %>
- <%= link_to t(".block_history"), user_blocks_on_path(@user) %>
+ <%= link_to t(".block_history"), user_received_blocks_path(@user) %>
<%= number_with_delimiter(@user.blocks.active.size) %>
<% end %>
@@ -105,9 +105,9 @@
<% end %>
- <% if can?(:revoke_all, UserBlock) and @user.blocks.active.exists? %>
+ <% if can?(:destroy, UserBlock) and @user.blocks.active.exists? %>
- <%= link_to t(".revoke_all_blocks"), revoke_all_user_blocks_path(@user) %>
+ <%= link_to t(".revoke_all_blocks"), edit_user_received_blocks_path(@user) %>
<% end %>