forked from mirrors/bookwyrm
acfc865d4e
also refactors the setting view
21 lines
480 B
HTML
21 lines
480 B
HTML
{% extends 'preferences_layout.html' %}
|
|
|
|
{% block header %}
|
|
Blocked Users
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<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>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|
|
|