{% extends "base.html" %} {% block body %}
{{ gettext('Are you sure you want to generate a new codename?') }} {{ gettext('Cancel') }}

{% if source.collection %}

{{ gettext('The documents are stored encrypted for security. To read them, you will need to decrypt them using GPG.') }}

{% with %} {% set modal_data = { "modal_id": "delete-selected-confirmation-modal", "modal_header": gettext('Delete Confirmation'), "modal_body": gettext('Are you sure you want to delete the selected documents?'), "cancel_id": "cancel-selected-deletions", "submit_id": "delete-selected", "submit_btn_type": "danger", "submit_btn_text": gettext('DELETE') } %} {% include '_confirmation_modal.html' %} {% endwith %}
{% else %}


{{ gettext('No documents to display.') }}

{% endif %}

{{ gettext('Reply') }}

{% if source.has_key %}

{{ gettext('You can write a secure reply to the person who submitted these documents:') }}

{{ form.message(id="reply-text-field", rows='10', class="journalist-reply__input") }}
{% elif source.flagged %}

{{ gettext("You've flagged this source for reply.") }}

{{ gettext("An encryption key will be generated for the source the next time they log in, after which you will be able to reply to the source here.") }}

{% else %}

{{ gettext("Click below if you would like to write a reply to this source.") }}

{% endif %}

{{ gettext("Click below to delete this source's collection. Warning: If you do this, the files seen here will be unrecoverable and the source will no longer be able to login using their previous codename.")|safe }}

{% with %} {% set modal_data = { "modal_id": "delete-collection-confirmation-modal", "modal_header": gettext('Delete Confirmation'), "modal_body": gettext('Are you sure you want to delete this collection?'), "cancel_id": "cancel-collection-deletions", "submit_id": "delete-collection-button", "submit_btn_type": "danger", "submit_btn_text": gettext('Delete') } %} {% include '_confirmation_modal.html' %} {% endwith %}
{% endblock %}