{% from 'common/macros.html' import timestamp %} {% extends 'base.html' %} {% block title %}{{ target_user.username }}'s profile{% endblock %} {% block content %}

{{ target_user.username }}'s profile

{% if active_user.id == target_user.id %}
Settings
{% if active_user.is_guest() %}

You are a guest. A Moderator needs to approve your account before you will be able to post.

{% endif %} {% endif %} {% if active_user and active_user.is_mod() and not target_user.is_system() %}

Moderation controls

{% if target_user.is_guest() %}

This user is a guest. They signed up on {{ timestamp(target_user['created_at']) }}

{% else %}

This user signed up on {{ timestamp(target_user['created_at']) }} and was confirmed on {{ timestamp(target_user['confirmed_on']) }}

{% endif %} {% endif %}
{% with stats = target_user.get_post_stats() %} {% endwith %}
{% endblock %}