mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fixes to following/follower lists
This commit is contained in:
parent
c1939b5d72
commit
ae2bd68858
2 changed files with 4 additions and 4 deletions
|
@ -484,7 +484,7 @@ a.tag:hover {
|
|||
text-decoration: none;
|
||||
background: #FFEE8A;
|
||||
}
|
||||
.follower-list {
|
||||
.follower-list, .following-list {
|
||||
width: 100%;
|
||||
float: left;
|
||||
margin-bottom: 2em;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% site_followings = site.followings %>
|
||||
<% if (!is_current_site && !site_followings.empty?) || is_current_site %>
|
||||
<h3><%= is_current_site ? 'You follow' : 'This site follows' %></h3>
|
||||
<div class="following">
|
||||
<div class="following-list">
|
||||
<h3><%= is_current_site ? 'You follow' : 'This site follows' %></h3>
|
||||
<% if site_followings.empty? %>
|
||||
<p>You are not following any sites yet. Add some by <a href="/browse">browsing sites</a> or looking at your tags.
|
||||
<% else %>
|
||||
|
@ -14,8 +14,8 @@
|
|||
|
||||
<% site_follows = site.follows %>
|
||||
<% if (!is_current_site && !site_follows.empty?) || is_current_site %>
|
||||
<h3>Followers</h3>
|
||||
<div class="follower-list">
|
||||
<h3>Followers</h3>
|
||||
<% if site_follows.empty? %>
|
||||
No followers yet.
|
||||
<% else %>
|
||||
|
|
Loading…
Add table
Reference in a new issue