{% extends "base.html" %} {% from 'bootstrap/form.html' import render_form %} {% block app_content %}
{% if user.cover_image() != '' %}

{{ user.display_name() if user.is_local() else user.display_name() + ', ' + user.ap_id }}

{% elif user.avatar_image() != '' %}

{{ user.display_name() if user.is_local() else user.display_name() + ', ' + user.ap_id }}

{% else %}

{{ user.display_name() if user.is_local() else user.display_name() + ', ' + user.ap_id }}

{% endif %} {% if current_user.is_authenticated %}
{% if user.matrix_user_id %} {{ _('Send message') }} {% endif %} {% if current_user.id != user.id %} {% if current_user.has_blocked_user(user.id) %} {{ _('Unblock user') }} {% else %} {{ _('Block user') }} {% endif %} {{ _('Report user') }} {% endif %}
{% endif %}

{{ _('Joined') }}: {{ moment(user.created).fromNow(refresh=True) }}
{{ _('Attitude') }}: {{ (user.attitude * 100) | round | int }}%

{{ user.about_html|safe }} {% if posts %}

Posts

{% for post in posts %} {% include 'post/_post_teaser.html' %} {% endfor %}
{% else %}

{{ _('No posts yet.') }}

{% endif %} {% if post_replies %}

Comments

{% for post_reply in post_replies %} {% include 'post/_post_reply_teaser.html' %} {% endfor %}
{% else %}

{{ _('No comments yet.') }}

{% endif %}
{% if current_user.is_authenticated and current_user.id == user.id %} {% endif %} {% if len(subscribed) > 0 or len(moderates) > 0 %}

{{ _('Communities') }}

{% if len(subscribed) > 0 %}

{{ _('Member of') }}

{% endif %} {% if len(moderates) > 0 %}

Moderates

{% endif %}
{% endif %} {% if current_user.is_authenticated and (user_access('ban users', current_user.id) or user_access('manage users', current_user.id)) and user.id != current_user.id %}

{{ _('Crush') }}

{% if user_access('ban users', current_user.id) %} {% if user.banned %} {% else %} {% endif %} {% endif %} {% if user_access('manage users', current_user.id) %} {% endif %}
{% endif %} {% if upvoted %}

{{ _('Upvoted') }}

{% endif %}
{% endblock %}