{% extends "base.html" %} {% import "_jobs.html" as parts with context %} {% import "_bank.html" as bank with context %} {% block title %}{{ t('keys.title') }} — {{ connection.connection_id }} — painfree{% endblock %} {% block head %} {# No JavaScript anywhere in this console. A job the worker is still running is waited for with a plain refresh, which works with scripting turned off. #} {% if outstanding %}{% endif %} {% endblock %} {% block body %}
{{ connection.connection_id }}{{ connection.key_state.value }} {{ t('key_state.' ~ connection.key_state.value) }}. {{ t('keys.lede') }}
{% if outstanding %}{{ outstanding.action.value }},
{{ t('keys.requested_by', who=outstanding.requested_by_id,
when=outstanding.created_at | moment) }}
{{ t('keys.refreshes') }}
{{ watched.action.value }} {{ watched.state.value }}.
{% if watched.return_code %} {{ t('keys.bank_answered') }} {{ watched.return_code }}
{{ bank.quiet(watched.report_text) }}{% endif %}
{% if watched.last_error %}{{ watched.result | pretty_json }}{% endif %}
{{ t('keys.sent_order_id') }} {{ connection.ini_order_id or '—' }}.
{{ t('keys.sent_order_id') }} {{ connection.hia_order_id or '—' }}.
{{ t('keys.open_comparison') }}
{% elif connection.bank_fingerprints %}{{ t('keys.confirmed') }}
| {{ role }} | {{ value | fingerprint }} |
{{ t('keys.renewal_body') }}