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

{{ user.user_name }}

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

{{ user.user_name }}

{% else %}

{{ user.user_name }}

{{ user.about_html|safe }} {% endif %} {% if len(posts) > 0 %}

Posts

{% for post in posts %} {% include 'community/_post_teaser.html' %} {% endfor %}
{% endif %} {% if len(post_replies) > 0 %}

Comments

{% for post_reply in post_replies %} {% include 'community/_post_reply_teaser.html' %} {% endfor %}
{% endif %}
{% if current_user.is_authenticated and current_user.id == user.id %} {% endif %} {% if len(moderates) > 0 %}

{{ _('Moderates') }}

    {% for community in moderates %}
  1. {{ community.display_name() }}
  2. {% endfor %}
{% 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 %}
{% endblock %}