{% extends "admin/change_form.html" %} {% load djblets_utils %} {% load djblets_deco %} {% load i18n %} {% block extrahead %} {{block.super}} {% endblock %} {% block object-tools-items %} {% if adminform.form.public_key %}
  • {% trans "Show SSH Public Key" %}
  • {% endif %} {{block.super}} {% endblock %} {% block form_top %}

    {% with adminform.form.hostkeyerror as hostkeyerror %} {% with adminform.form.certerror as certerror %} {% with adminform.form.certerror.certificate as certificate %} {% if hostkeyerror or certerror %}
    {% if hostkeyerror %} {{hostkeyerror|paragraphs}} {% if hostkeyerror.key %}

    RSA key fingerprint is {{hostkeyerror.key}}.

    {% endif %} {% if hostkeyerror.expected_key %}

    Expected fingerprint is {{hostkeyerror.expected_key}}.

    {% endif %} {% else %}{% if certerror %} {{certerror|paragraphs}} {% if certificate.failures %}

    {% trans "There were errors validating this certificate:" %}

    {% endif %}

    {% trans "Certificate information:" %}

    {{certificate.hostname}}

    {% blocktrans with certificate.valid_from as valid_from and certificate.valid_until as valid_until %} from {{valid_from}} until {{valid_until}} {% endblocktrans %}

    {{certificate.issuer}}

    {{certificate.fingerprint}}

    {% endif %}{% endif %}

    {% blocktrans %} Do you trust this host, or do you want to go back and edit the repository information? {% endblocktrans %}

    {% endif %} {% endwith %} {% endwith %} {% endwith %} {% with adminform.form.userkeyerror as userkeyerror %} {% if userkeyerror %}
    {{userkeyerror|paragraphs}} {% url settings-ssh as ssh_settings_url %}

    {% blocktrans %} Review Board doesn't have a public key to send to the server. You can create one, add it to the server, and then try again. {% endblocktrans %}

    {% endif %} {% endwith %} {% if adminform.form.public_key %}

    {% trans "Note:" %} {% blocktrans %} If your provider or repository requires an SSH key for access, you can click "Show SSH Public Key" to the right. {% endblocktrans %}

    {% endif %} {% endblock %}