moviewyrm/bookwyrm/templates/preferences/blocks.html

25 lines
585 B
HTML
Raw Normal View History

2021-01-29 17:28:00 +00:00
{% extends 'preferences/preferences_layout.html' %}
{% block header %}
Blocked Users
{% endblock %}
{% block panel %}
2021-01-26 21:02:04 +00:00
{% 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">
<p>
{% include 'snippets/avatar.html' with user=user %} {% include 'snippets/username.html' with user=user %}
</p>
<p class="mr-2">
{% include 'snippets/block_button.html' with user=user %}
</p>
</li>
2021-01-26 21:02:04 +00:00
{% endfor %}
</ul>
2021-01-26 21:02:04 +00:00
{% endif %}
{% endblock %}