{% extends "base.html" %} {% block title %}{{ t('审计') }} · {{ product_name }}{% endblock %} {% block content %}
{{ t(subtitle) }}
{{ t('共 {total} 条', total=total) }}
| {{ 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 %} |
{% if filtered %}{{ t('换个时间或动作,或清除筛选后再看。') }}{% else %}{{ t('可以改成近 7 天或近 30 天再看。') }}{% endif %}