Consistent display on followers/following pages

This commit is contained in:
Mouse Reeve 2021-04-30 08:23:02 -07:00
parent b4c155f134
commit d2355fef96
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@
</div>
</div>
{% endfor %}
{% if not followers.count %}
{% if not followers %}
<div>{% blocktrans with username=user.display_name %}{{ username }} has no followers{% endblocktrans %}</div>
{% endif %}
</div>

View file

@ -20,12 +20,12 @@
</a>
({{ follower.username }})
</div>
<div class="column">
<div class="column is-narrow">
{% include 'snippets/follow_button.html' with user=follower %}
</div>
</div>
{% endfor %}
{% if not following.count %}
{% if not following %}
<div>{% blocktrans with username=user|username %}{{ username }} isn't following any users{% endblocktrans %}</div>
{% endif %}
</div>