{% extends "base.html" %} {% block title %}{{ t('审计') }} · {{ product_name }}{% endblock %} {% block content %} {% if rows %}

{{ t('共 {total} 条', total=total) }}

{% for row in rows %} {% endfor %}
{{ t('时间') }} {{ t('操作者') }} {{ t('动作') }} {{ t('所在环境') }} {{ t('对象') }} {{ t('结果') }} {{ t('摘要') }}
{{ local_time(row.at) }} {{ row.actor }} {{ t(row.action_label) }} {% if row.environment_key %} {% if row.environment_key == 'default' and row.environment_title == '默认' %}{{ t('默认') }}{% else %}{{ row.environment_title or row.environment_key }}{% endif %} {% if row.environment_title and row.environment_title != row.environment_key %}{{ row.environment_key }}{% endif %} {% else %}—{% endif %} {% if row.target_name %}{{ row.target_name }}{% else %}—{% endif %} {% if row.result == 'ok' %}{{ t('成功') }} {% elif row.result == 'failed' %}{{ t('失败') }} {% else %}—{% endif %} {% if row.summary %} {% else %}—{% endif %}
{% for row in rows %} {% if row.summary %} {% endif %} {% endfor %} {% if pages > 1 %} {% endif %} {% else %}

{% if filtered %}{{ t('没有符合条件的记录。') }}{% else %}{{ t('近 24 小时还没有操作。') }}{% endif %}

{% if filtered %}{{ t('换个时间或动作,或清除筛选后再看。') }}{% else %}{{ t('可以改成近 7 天或近 30 天再看。') }}{% endif %}

{% endif %} {% endblock %}