{% 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 %}

{% include 'snippets/username.html' with user=requester show_full=True %}

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