mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for follows display
This commit is contained in:
parent
769a122b03
commit
b47997a030
1 changed files with 3 additions and 2 deletions
|
@ -12,10 +12,11 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if (!is_current_site && !site_followings.empty?) || is_current_site %>
|
||||
<% site_follows = site.follows %>
|
||||
<% if (!is_current_site && !site_follows.empty?) || is_current_site %>
|
||||
<h3>Followers</h3>
|
||||
<div class="following">
|
||||
<% if site_followings.empty? %>
|
||||
<% if site_follows.empty? %>
|
||||
No followers yet.
|
||||
<% else %>
|
||||
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
||||
|
|
Loading…
Add table
Reference in a new issue