forked from mirrors/bookwyrm
27 lines
721 B
HTML
27 lines
721 B
HTML
{% extends 'preferences/layout.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "Blocked Users" %}{{ author.name }}{% endblock %}
|
|
|
|
{% block header %}
|
|
{% trans "Blocked Users" %}
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
{% if not request.user.blocks.exists %}
|
|
<p><em>{% trans "No users currently blocked." %}</em></p>
|
|
{% else %}
|
|
<ul>
|
|
{% for user in request.user.blocks.all %}
|
|
<li class="is-flex">
|
|
<p>
|
|
<a href="{{ user.local_path }}">{% include 'snippets/avatar.html' with user=user %} {{ user.display_name }}</a>
|
|
</p>
|
|
<p class="mr-2">
|
|
{% include 'snippets/block_button.html' with user=user blocks=True %}
|
|
</p>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endblock %}
|