{% 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 %}

{{ _('Users') }}

{{ _('Add local user') }}
{% for user in users.items %} {% endfor %}
{{ _('Name') }} {{ _('Local/Remote') }} {{ _('Seen') }} {{ _('Attitude') }} {{ _('Reputation') }} {{ _('Banned') }} {{ _('Reports') }} {{ _('IP and country code') }} {{ _('Source') }} {{ _('Actions') }}
{{ user.display_name() }} {% if user.is_local() %}Local{% else %}Remote{% endif %} {% if request.args.get('local_remote', '') == 'local' %} {{ arrow.get(user.last_seen).humanize(locale=locale) }} {% else %} {{ user.last_seen }} {% endif %} {% if user.attitude != 1 %}{{ (user.attitude * 100) | round | int }}%{% endif %} {% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} {{ 'Banned'|safe if user.banned }} {{ user.reports if user.reports > 0 }} {{ user.ip_address if user.ip_address }}
{{ user.ip_address_country if user.ip_address_country }}
{{ user.referrer if user.referrer }} View local | {% if not user.is_local() %} View remote | {% else %} View remote | {% endif %} Edit | Delete

{% include 'admin/_nav.html' %}

{% endblock %}