{% extends 'layout.html' %} {% load i18n %} {% load humanize %} {% load utilities %} {% load markdown %} {% load layout %} {% block title %}{{ user.display_name }}{% endblock %} {% block opengraph_images %} {% include 'snippets/opengraph_images.html' with image=user.preview_image %} {% endblock %} {% block content %}
{% block header %}

{% trans "User Profile" %}

{% endblock %}
{# user bio #}
{% include 'user/user_preview.html' with user=user %}
{% if user.summary %} {% spaceless %}
{{ user.summary|to_markdown|safe }} {% endspaceless %}
{% 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 %}
{% block tabs %} {% with user|username as username %} {% endwith %} {% endblock %} {% block panel %}{% endblock %} {% endblock %}