X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..eaa0540f2298782df81dd5d005128394c8e06633:/app/views/dashboards/show.html.erb diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index d3e6dbcb3..70dae774e 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -19,33 +19,33 @@ :icon => image_path("marker-red.png"), :description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" }) } %> - <%= tag.div "", :id => "map", :class => "content_map border border-secondary-subtle rounded", :data => { :user => user_data } %> + <%= tag.div "", :id => "map", :class => "content_map border border-secondary-subtle rounded z-0", :data => { :user => user_data } %> <% end %> - <% friends = @user.friends %> - <% nearby = @user.nearby - friends %> + <% followings = @user.followings %> + <% nearby = @user.nearby - followings %>
-

<%= t ".my friends" %>

+

<%= t ".followings" %>

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

<%= t ".nearby users" %>

+

<%= t ".nearby users" %>

<% if nearby.empty? %> <%= t ".no nearby users" %>