mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #922 from alphagov/cancelled-jobs
Let users cancel a job
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% from "components/table.html" import list_table, field, right_aligned_field_heading, date_field, row_heading %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
|
||||
<div class="ajax-block-container">
|
||||
{% if job.job_status == 'scheduled' %}
|
||||
@@ -6,6 +7,14 @@
|
||||
<p>
|
||||
Sending will start at {{ job.scheduled_for|format_time }}
|
||||
</p>
|
||||
<div class="page-footer">
|
||||
<form method="post">
|
||||
{{ page_footer(
|
||||
button_text="Cancel sending",
|
||||
destructive=True
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user