forked from mirrors/bookwyrm
Consistent display on followers/following pages
This commit is contained in:
parent
b4c155f134
commit
d2355fef96
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if not followers.count %}
|
{% if not followers %}
|
||||||
<div>{% blocktrans with username=user.display_name %}{{ username }} has no followers{% endblocktrans %}</div>
|
<div>{% blocktrans with username=user.display_name %}{{ username }} has no followers{% endblocktrans %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,12 +20,12 @@
|
||||||
</a>
|
</a>
|
||||||
({{ follower.username }})
|
({{ follower.username }})
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column is-narrow">
|
||||||
{% include 'snippets/follow_button.html' with user=follower %}
|
{% include 'snippets/follow_button.html' with user=follower %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if not following.count %}
|
{% if not following %}
|
||||||
<div>{% blocktrans with username=user|username %}{{ username }} isn't following any users{% endblocktrans %}</div>
|
<div>{% blocktrans with username=user|username %}{{ username }} isn't following any users{% endblocktrans %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue