{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} {% from 'bootstrap/form.html' import render_form %} {% set active_child = 'admin_users' %} {% block app_content %}
{{ _('Banned') }} | {{ _('Actions') }} | |||||
---|---|---|---|---|---|---|
{{ render_username(user, add_domain=False) }} {{ user.user_name }}{% if not user.is_local() %} |
{{ 'Banned'|safe if user.banned }} {{ 'Banned posts'|safe if user.ban_posts }} {{ 'Banned comments'|safe if user.ban_comments }} | {{ user.reports if user.reports > 0 }} | {% if user.attitude != 1 %}{{ (user.attitude * 100) | round | int }}%{% endif %} | {% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} | {{ arrow.get(user.last_seen).humanize(locale=locale) }} | Edit,
Delete,
{% if user.banned %} Ban, {% else %} Ban, {% endif %} Purge |