mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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>
|
</div>
|
||||||
<% end %>
|
<% 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>
|
<h3>Followers</h3>
|
||||||
<div class="following">
|
<div class="following">
|
||||||
<% if site_followings.empty? %>
|
<% if site_follows.empty? %>
|
||||||
No followers yet.
|
No followers yet.
|
||||||
<% else %>
|
<% else %>
|
||||||
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue