{% extends 'layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load humanize %} {% block title %}{% trans "Directory" %}{% endblock %} {% block content %}

{% trans "Directory" %}

{% if not request.user.discoverable %}

{% trans "Make your profile discoverable to other BookWyrm users." %}

{% csrf_token %}

{% url 'settings-profile' as path %} {% blocktrans %}You can opt-out at any time in your profile settings.{% endblocktrans %}

{% trans "Dismiss message" as button_text %}
{% endif %}

Filters {% trans "Show filters" as text %} {% include 'snippets/toggle/open_button.html' with text=text controls_text="filters" icon="arrow-down" class="is-small" focus="filters" %} {% trans "Hide filters" as text %} {% include 'snippets/toggle/close_button.html' with text=text controls_text="filters" icon="x" class="is-small" %}

{% if request.GET %} {% trans "Clear filters" %} {% endif %}
{% for user in users %}
{% include 'snippets/avatar.html' with user=user large=True %}
{{ user.display_name }} @{{ user|username }} {% include 'snippets/follow_button.html' with user=user %}
{% if user.summary %} {{ user.summary | to_markdown | safe | truncatechars_html:40 }} {% else %} {% endif %}
{% endfor %}
{% include 'snippets/pagination.html' with page=users path="/directory" %}
{% endblock %} {% block scripts %} {% endblock %}