{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Pageboy · {{ t('settings.title') }}{% endblock %} {% block subtitle %}{{ t('settings.subtitle') }}{% endblock %} {% block content %} {% if flash_saved %}
{{ th('flash.saved', what=flash_saved) }}
{% endif %} {% if flash_ok %}{{ flash_ok }}
{% endif %} {% if flash_err %}{{ t('flash.err', what=flash_err) }}
{% endif %} {% for row in channels %} {% set g = row.guide %}{{ t('settings.summary') }} {{ g.blurb }}
{{ g.what_it_does }}
{% if g.name != 'telegram' %}{{ th('bot.token_from', links=bot_links) }}
{{ m.secret_field(g.name, token_field, row.secret_flags) }} {% else %}{{ t('bot.token_change_note') }}
{{ m.secret_field(g.name, token_field, row.secret_flags) }}{% if row.bot_last_error %} {{ row.bot_last_error }} {% else %} {{ t('bot.not_receiving') }} {% endif %}
{{ t('bot.enable_note') }}
{{ th('bot.pair_warning') }}
{{ th('bot.pair_note') }}
{{ m.pairing_form(row.pairing_active) }}{{ th('bot.protected_note') }}
{{ ag.blurb }}
{{ th('app.cred_note', links=app_links) }}
{{ m.secret_group('telegram', ag.fields, row.secret_flags, t('app.save_cred')) }} {% else %}{{ t('app.cred_change_note') }}
{{ m.secret_group('telegram', ag.fields, row.secret_flags, t('app.save_cred')) }}{{ t('app.code_note') }}
{% elif step == 'password' %}{{ t('app.2fa_note') }}
{% endif %} {# done #} {% if step == 'connected' %}{{ th('app.connected') }}
{% endif %}{{ t('settings.summary') }} {{ jira_info.blurb }}
{{ jira_info.what_it_does }}
{{ jira_info.note }}
{{ t('harness.note') }}
{% for field in harness_secrets %} {% endfor %}