From: Tom Hughes Date: Fri, 17 Jan 2025 22:57:53 +0000 (+0000) Subject: Rename friends as followings X-Git-Tag: live~87^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/42d622b735a8f7ef9399e1dae54eb653d08ef112 Rename friends as followings --- diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index be4461a00..70dae774e 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -22,14 +22,14 @@ <%= tag.div "", :id => "map", :class => "content_map border border-secondary-subtle rounded z-0", :data => { :user => user_data } %> <% end %> - <% friends = @user.followings %> - <% nearby = @user.nearby - friends %> + <% followings = @user.followings %> + <% nearby = @user.nearby - followings %>

<%= t ".followings" %>

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