X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8da015ac88d9c9a2f7ca32f981061a6bc397a8fd..f398c1e5eb35fa9e355544fb2860bc2ca9cfbe67:/app/views/dashboards/_contact.html.erb
diff --git a/app/views/dashboards/_contact.html.erb b/app/views/dashboards/_contact.html.erb
index cf1866cc9..7785c0552 100644
--- a/app/views/dashboards/_contact.html.erb
+++ b/app/views/dashboards/_contact.html.erb
@@ -6,7 +6,7 @@
} %>
<%= tag.div :class => "clearfix row", :data => { :user => user_data } do %>
- <%= user_thumbnail contact, :class => "user_thumbnail_no_margins" %>
+ <%= user_thumbnail contact %>
@@ -37,7 +37,7 @@
- <%= link_to t("users.show.send message"), new_message_path(contact) %>
-
- <% if current_user.is_friends_with?(contact) %>
+ <% if current_user.friends_with?(contact) %>
<%= link_to t("users.show.remove as friend"), remove_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
<% else %>
<%= link_to t("users.show.add as friend"), make_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>