]> git.openstreetmap.org Git - rails.git/commitdiff
Rename friends as followings
authorTom Hughes <tom@compton.nu>
Fri, 17 Jan 2025 22:57:53 +0000 (22:57 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 17 Jan 2025 23:01:56 +0000 (23:01 +0000)
app/views/dashboards/show.html.erb

index be4461a00221c21d1a45b78532df5a00aa9fd861..70dae774e86eef0a3e5e9567b2f75d46d9791755 100644 (file)
         <%= 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 %>
     </div>
 
     <div class="col-md">
       <h2><%= t ".followings" %></h2>
 
-      <% if friends.empty? %>
+      <% if followings.empty? %>
         <%= t ".no followings" %>
       <% else %>
         <nav class='secondary-actions mb-3'>
@@ -39,7 +39,7 @@
           </ul>
         </nav>
         <div>
-          <%= render :partial => "contact", :collection => friends, :locals => { :type => "following" } %>
+          <%= render :partial => "contact", :collection => followings, :locals => { :type => "following" } %>
         </div>
       <% end %>