{% extends "base.html" %} {% block title %}{{ t('system.log') }}{% endblock %} {% block header %}
{{ t('nav.system_group') }}

{{ t('system.log') }}

{% endblock %} {% block content %}
{% if f.kind == 'activity' %} {% endif %} {% if f.kind != 'audit' %} {% endif %} {{ t('system.export') }}
{{ t('system.count', n=(rows | length) ~ ('+' if rows | length >= limit else '')) }}
{% for r in rows %} {% else %} {% endfor %}
{{ t('system.col_time') }}{{ t('system.col_user') }}{{ t('system.col_what') }} {{ t('system.col_detail') }}{{ t('system.col_result') }}{{ t('system.col_ip') }}
{{ r.at.astimezone(tz).strftime('%H:%M %d/%m/%Y') }} {{ r.user }} {{ r.what }}{% if r.object %}
{{ r.object }}
{% endif %}
{{ r.detail }} {% if r.ok == 'OK' %}{{ t('system.ok') }} {% elif r.ok == 'DENIED' %}{{ t('system.denied') }} {% else %}{{ t('system.error') }}{% endif %} {% if r.status %}{{ r.status }}{% endif %} {% if r.ms is not none %}
{{ r.ms }} ms
{% endif %}
{{ r.ip }}{% if r.agent %}
{{ r.agent }}
{% endif %}
{{ t('system.no_rows') }}
{% endblock %}