{% extends "base.html" %} {% block title %}{{ t('管理概览') }} · {{ product_name }}{% endblock %} {% block content %}
{{ t('环境') }}{{ environment_count }}
{{ t('已启用目标') }}{{ enabled_targets }}
{{ t('最近测试失败') }}{{ failed }}
{{ t('密钥异常') }}{{ key_issues }}

{{ t('需要处理') }}

{% if problems %}
{% for item in problems %} {% endfor %}
{{ t('环境') }}{{ t('名称') }}{{ t('问题') }}
{% if item.environment_key == 'default' and item.environment_title == '默认' %}{{ t('默认') }}{% else %}{{ item.environment_title or item.environment_key }}{% endif %} {{ item.name }} {% for issue in item.issues %}{{ t(issue) }}{% if not loop.last %} / {% endif %}{% endfor %}
{% else %}

{{ t('没有需要处理的目标') }}

{% endif %}

{{ t('最近操作') }}

{{ t('查看全部') }}
{% if recent %}
{% for row in recent %} {% endfor %}
{{ 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.summary %} {% else %}—{% endif %}
{% for row in recent %} {% if row.summary %} {% endif %} {% endfor %} {% else %}

{{ t('还没有操作。') }}

{% endif %} {% endblock %}