{% extends "office/member/base.html" %} {% load bootstrap4 %} {% load i18n %} {% block title %}{{ block.super }} :: {% trans "PGP" %}{% endblock %} {% block member_content %}
{% trans "PGP keys" %}
{% if pgp_keys %} {% for key in pgp_keys %} {% if key.last_error %} {% endif %} {% endfor %}
{% trans "Fingerprint" %} {% trans "Status" %} {% trans "Expires" %} {% trans "Last checked" %}
{{ key.fingerprint }} {{ key.get_status_display }} {{ key.expires_at|default:"-" }} {{ key.last_checked_at|default:"-" }}
{% csrf_token %} {% if key.is_active %} {% endif %}
{{ key.last_error }}
{% else %}

{% trans "No PGP keys are stored for this member." %}

{% endif %}
{% csrf_token %}
{% trans "Import from keyserver" %}
{% bootstrap_form fingerprint_form layout='horizontal' %}
{% csrf_token %}
{% trans "Upload public key" %}
{% bootstrap_form upload_form layout='horizontal' %}
{% endblock %}