{% extends "base.html" %} {% block body %}
{% if source.collection %}

{{ gettext('All messages, files, and replies from sources are stored as encrypted files for security. To read them, you will need to decrypt them on your Secure Viewing Station.') }}

{% 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 submissions?'), "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 submissions to display.') }}

{% endif %}

{{ gettext('Reply') }}

{% if source.has_key %}

{{ gettext('You can write a secure reply to the person who submitted these messages and/or files:') }}

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

{{ gettext("This source has no encryption key.") }}

{{ 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.") }}

{% endif %}
{% with %} {% set modal_data = { "modal_id": "delete-collection-confirmation-modal", "modal_header": gettext('Are you sure?'), "modal_body": gettext('

Deleting the account for {source} will:

All files, messages, and replies will also be deleted when their account is deleted.

'.format(source=source.journalist_designation)), "cancel_id": "cancel-collection-deletions", "submit_id": "delete-collection-button", "submit_btn_type": "danger", "submit_btn_text": gettext('Yes, Delete Source Account') } %} {% include '_confirmation_modal.html' %} {% endwith %}
{% endblock %}