X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ec5754a9bd56dbb802a2897851ebf71deb017f89..835756e979916341965fd3328146baa65a13e82d:/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 c4b595e9b..be4461a00 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -22,24 +22,24 @@ <%= tag.div "", :id => "map", :class => "content_map border border-secondary-subtle rounded z-0", :data => { :user => user_data } %> <% end %> - <% friends = @user.friends %> + <% friends = @user.followings %> <% nearby = @user.nearby - friends %>
-

<%= t ".my friends" %>

+

<%= t ".followings" %>

<% if friends.empty? %> - <%= t ".no friends" %> + <%= t ".no followings" %> <% else %>
- <%= render :partial => "contact", :collection => friends, :locals => { :type => "friend" } %> + <%= render :partial => "contact", :collection => friends, :locals => { :type => "following" } %>
<% end %>