{% extends "base.html" %}
{% load avatar_tags i18n seahub_tags %}

{% block sub_title %}{% trans "Profile" %} - {% endblock %}
{% block header_css_class %}d-flex{% endblock %}

{% block main_panel %}
<div id="user-profile">
{% if user %}
    {% avatar user.username 128 %}
    <p title="{{ nickname }}" class="user-profile-nickname ellipsis">{{ nickname }}</p>
{% else %}
    {% avatar "" 128 %}
{% endif %}
</div>
{% endblock %}
