{% extends "layout.html" %} {% block title %}{{ user.username }} :: {{ config.SITE_NAME }}{% endblock %} {% block meta_image %}{{ user.gravatar_url() }}{% endblock %} {% block metatags %} {% if search.term %} {% else %} {% endif %} {% endblock %} {% block body %} {% from "_formhelpers.html" import render_menu_with_button %} {% from "_formhelpers.html" import render_field %} {% if g.user and g.user.is_moderator %}

User Information


View all comments
User ID:
{{ user.id }}
Account created on:
{{ user.created_time.strftime('%Y-%m-%d %H:%M UTC') }}
Email address:
{{ user.email }}
User class:
{{ user.userlevel_str }}
User status:
{{ user.userstatus_str }} {%- if g.user.is_superadmin -%}
Last login IP:
{{ user.ip_string }}
Registration IP:
{{ user.reg_ip_string }}
{%- endif -%}
{% if admin_form %}
{{ admin_form.csrf_token }}
{{ render_menu_with_button(admin_form.user_class) }}
{% if not user.is_active %}
{{ admin_form.activate_user(class="btn btn-primary") }}
{% endif %}

{% endif %}
{% if ban_form %}

Danger Zone

{{ ban_form.csrf_token }} {% if user.is_banned %} This user is banned. {% endif %} {% if ipbanned %} This user is ip banned. {% endif %} {% if not user.is_banned and not bans %} This user is not banned. {% endif %}
{% if user.is_banned or bans %}
{{ ban_form.unban(class="btn btn-info") }}
{% endif %} {% if not user.is_banned or not ipbanned %} {% if user.is_banned or bans %}
{% endif %}
{{ render_field(ban_form.reason, class_="form-control", placeholder="Specify a ban reason.") }}
{% if not user.is_banned %} {{ ban_form.ban_user(value="Ban User", class="btn btn-danger") }} {% else %} {% endif %}
{% if not ipbanned %} {{ ban_form.ban_userip(value="Ban User+IP", class="btn btn-danger") }} {% else %} {% endif %}
{% endif %}
{% if g.user.is_superadmin %}
{{ nuke_form.csrf_token }}
{{ nuke_form.nuke_torrents(class="btn btn-danger", formaction=url_for('users.nuke_user_torrents', user_name=user.username)) }}
{% endif %}
{% endif %}
{% endif %}

Browsing {{ user.username }}'{{ '' if user.username[-1] == 's' else 's' }} torrents {% if torrent_query.actual_count is number and not search.term: %} ({{ torrent_query.actual_count }}) {% endif %}

{% include "search_results.html" %} {% endblock %}