Merge pull request #2725 from alphagov/job-sent-already

Warn if a file has been sent already
This commit is contained in:
Chris Hill-Scott
2019-02-05 14:55:08 +00:00
committed by GitHub
6 changed files with 105 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
<h1 class='banner-title' data-module="track-error" data-error-type="File previously sent" data-error-label="{{ upload_id }}">
You already sent these messages
</h1>
<p>
If you want to send the same messages again, rename the file and re-upload it
</p>

View File

@@ -98,6 +98,10 @@
) }}.
</p>
{% elif sent_previously %}
{% include "partials/check/sent-previously.html" %}
{% elif not recipients.allowed_to_send_to %}
{% with