{% extends 'layout.html' %} {% load i18n %} {% load humanize %} {% load bookwyrm_tags %} {% block title %}{{ user.display_name }}{% endblock %} {% block content %}
{% block header %}{% endblock %}
{# user bio #}
{% include 'user/user_preview.html' with user=user %}
{% if user.summary %}
{{ user.summary | to_markdown | safe }}
{% endif %}
{% if not is_self and request.user.is_authenticated %} {% include 'snippets/follow_button.html' with user=user %} {% endif %} {% if is_self and user.follower_requests.all %}

{% trans "Follow Requests" %}

{% for requester in user.follower_requests.all %}

{{ requester.display_name }} ({{ requester.username }})

{% include 'snippets/follow_request_buttons.html' with user=requester %}
{% endfor %}
{% endif %}
{% with user|username as username %} {% if 'user/'|add:username|add:'/books' not in request.path %} {% endif %} {% endwith %} {% block panel %}{% endblock %} {% endblock %}