X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3f8cf322723750aa4c8d062d4a727f9107ceccb4..29e98571454a450f0af1e2649d1688c6f2afffdb:/app/views/dashboards/show.html.erb?ds=sidebyside
diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb
index 3fe27b779..f5feb9037 100644
--- a/app/views/dashboards/show.html.erb
+++ b/app/views/dashboards/show.html.erb
@@ -32,10 +32,12 @@
<% if friends.empty? %>
<%= t ".no friends" %>
<% else %>
-
- - <%= link_to t(".friends_changesets"), friend_changesets_path %>
- - <%= link_to t(".friends_diaries"), friends_diary_entries_path %>
-
+
<%= render :partial => "contact", :collection => friends, :locals => { :type => "friend" } %>
@@ -48,10 +50,12 @@
<% if nearby.empty? %>
<%= t ".no nearby users" %>
<% else %>
-
- - <%= link_to t(".nearby_changesets"), nearby_changesets_path %>
- - <%= link_to t(".nearby_diaries"), nearby_diary_entries_path %>
-
+
<%= render :partial => "contact", :collection => nearby, :locals => { :type => "nearby mapper" } %>