Files
notifications-admin/app/templates/partials/jobs/status.html
2021-07-14 09:55:20 +01:00

32 lines
1.3 KiB
HTML

<div class="ajax-block-container">
<p class='bottom-gutter'>
{% if job.scheduled_for %}
{% if job.processing_started %}
Sent by {{ job.created_by.name }} on {{ job.processing_started|format_datetime_short }}
{% if job.template.template_type == "letter" %}
<p class="govuk-body" id="printing-info">
{{ letter_print_day }}
</p>
{% endif %}
{% else %}
Uploaded by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
{% endif %}
{% else %}
Sent by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
{% if job.template.template_type == "letter" %}
<p class="govuk-body" id="printing-info">
{{ letter_print_day }}
</p>
{% endif %}
{% endif %}
</p>
{% if job.status == 'sending limits exceeded'%}
<p class="govuk-error-message">
Notify cannot send these messages because you have reached your daily limit. You can only send {{ current_service.message_limit|format_thousands }} messages per day.
</p>
<p class="govuk-error-message govuk-!-margin-bottom-6">
Upload this spreadsheet again tomorrow or <a class="govuk-link" href="https://www.notifications.service.gov.uk/support">contact the GOV.UK Notify team</a> to raise the limit.
</p>
{% endif %}
</div>