forked from mirrors/bookwyrm
null state for block page
This commit is contained in:
parent
22e4138555
commit
369b24f9ec
1 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,9 @@ Blocked Users
|
|||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{% if not request.user.blocks.exists %}
|
||||
<p>No users currently blocked.</p>
|
||||
{% else %}
|
||||
<ul>
|
||||
{% for user in request.user.blocks.all %}
|
||||
<li class="is-flex">
|
||||
|
@ -17,5 +20,5 @@ Blocked Users
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue