{% load i18n tinyuser %}
{% if profile_settings.show_avatar %} {% if profile.avatar_medium %} {% translate {% elif profile.avatar_large %} {% translate {% elif profile.avatar_full %} {% translate {% elif profile.avatar_small %} {% translate {% else %}
{% endif %} {% else %}
{% endif %}
{% translate "Username:" %}
{{ profile.user.username }}
{% if profile_settings.show_email %}
{% translate "Email address:" %}
{{ profile.user.email }}
{% endif %} {% if profile_settings.show_full_name %}
{% translate "First name:" %}
{% if profile.first_name %} {{ profile.first_name }} {% else %} {% translate "Not specified" %} {% endif %}
{% translate "Last name:" %}
{% if profile.last_name %} {{ profile.last_name }} {% else %} {% translate "Not specified" %} {% endif %}
{% endif %} {% if profile_settings.show_location %}
{% translate "Location:" %}
{% if profile.location %} {{ profile.location }} {% else %} {% translate "Not specified" %} {% endif %}
{% endif %} {% if profile_settings.show_birth_date and profile_settings.show_birth_date != "no" %}
{% if profile_settings.show_birth_date == "date" %} {% translate "Birth date:" %} {% elif profile_settings.show_birth_date == "birthday" %} {% translate "Birthday:" %} {% endif %}
{% if profile.birth_date %} {% if profile_settings.show_birth_date == "date" %} {{ profile.birth_date }} {% elif profile_settings.show_birth_date == "birthday" %} {{ profile.birth_date|birthday }} {% endif %} {% else %} {% translate "Not specified" %} {% endif %}
{% endif %} {% if profile_settings.show_website %}
{% translate "Website:" %}
{% if profile.website %} {{ profile.website }} {% else %} {% translate "Not specified" %} {% endif %}
{% endif %} {% if profile_settings.show_mastodon_url %}
{% translate "Mastodon URL:" %}
{% if profile.mastodon_url %} {{ profile.mastodon_url }} {% else %} {% translate "Not specified" %} {% endif %}
{% endif %}
{% if profile_settings.show_bio %}

{% translate "Biography" %}

{% if profile.bio %} {{ profile.bio_html }} {% elif request.user == profile.user %} {% url 'tinyuser:profile-edit' as profile_edit_url %} {% blocktranslate %}You haven't set a biography yet. You can edit your profile to add one.{% endblocktranslate %} {% else %} {% translate "This user hasn't set a biography yet." %} {% endif %} {% endif %}