{% extends "base.html" %} {% from "_macros.html" import env_label_existing %} {% block title %}{{ t('删除目标') }} · {{ product_name }}{% endblock %} {% block container_class %} container--form{% endblock %} {% block content %}

{{ t('删除目标') }}

{{ t('确认删除') }} {{ target.name }}({{ t(target.type_label) }})?

{{ t('所属环境') }}
{{ env_label_existing(target) }} {{ target.environment_key }}
{{ t('端点') }}
{{ t(target.endpoint) }}
{{ t('授权范围') }}
{{ t(target.scope_source, **target.scope_params) }}
{{ t('最近测试') }}
{% if target.last_test_at_display %} {{ t('成功') if target.last_test_ok else t('失败') }} {{ local_time(target.last_test_at, extra='class="muted small"') }} {% else %}{{ t('未测试') }}{% endif %}

{{ t('删除后,这个目标的连接和密钥都会去掉,排查时不能再使用,也无法恢复。') }}

{{ t('取消') }}
{% endblock %}