{% load i18n %} {% load humanize %} {% load utilities %} {% load user_page_tags %}
{% include 'snippets/avatar.html' with user=user large=True %}

{% if user.name %}{{ user.name }}{% else %}{{ user.localname }}{% endif %} {% if user.manually_approves_followers %} {% trans "Locked account" %} {% endif %}

{{ user.username }}

{% blocktrans with date=user.created_date|naturaltime %}Joined {{ date }}{% endblocktrans %}

{% if request.user.id == user.id %} {% blocktrans count counter=user.followers.count %}{{ counter }} follower{% plural %}{{ counter }} followers{% endblocktrans %}, {% blocktrans with counter=user.following.count %}{{ counter }} following{% endblocktrans %} {% elif request.user.is_authenticated %} {% if user.hide_follows %} {% if request.user in user.following.all %} {% trans "Follows you" %} {% endif %} {% else %} {% mutuals_count user as mutuals %} {% if mutuals %} {% blocktrans with mutuals_display=mutuals|intcomma count counter=mutuals %}{{ mutuals_display }} follower you follow{% plural %}{{ mutuals_display }} followers you follow{% endblocktrans %} {% elif request.user in user.following.all %} {% trans "Follows you" %} {% else %} {% trans "No followers you follow" %} {% endif %} {% endif %} {% endif %}