2023-10-06 11:31:28 -04:00
|
|
|
|
<div class="usa-alert usa-alert--error" role="alert">
|
|
|
|
|
|
<div class="usa-alert__body">
|
|
|
|
|
|
<h1 class="usa-alert__heading">
|
|
|
|
|
|
{% if original_file_name %}
|
|
|
|
|
|
Too many recipients
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
Daily limit reached
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
<p class="usa-alert__text">
|
|
|
|
|
|
You can only send {{ current_service.message_limit|format_thousands }} messages per day
|
|
|
|
|
|
{%- if current_service.trial_mode %}
|
|
|
|
|
|
in <a class="usa-link" href="{{ url_for('.trial_mode_new')}}">trial mode</a>
|
|
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{% if original_file_name %}
|
|
|
|
|
|
<p class="usa-alert__text">
|
|
|
|
|
|
{% if current_service.message_limit != remaining_messages %}
|
2020-09-26 14:50:47 +01:00
|
|
|
|
You can still send {{ remaining_messages|format_thousands }} messages today, but
|
2023-10-06 11:31:28 -04:00
|
|
|
|
{% endif %}
|
|
|
|
|
|
‘{{ original_file_name }}’ contains
|
|
|
|
|
|
{{ count_of_recipients|recipient_count(template.template_type) }}.
|
|
|
|
|
|
</p>
|
2017-06-29 12:23:42 +01:00
|
|
|
|
{% endif %}
|
2023-10-06 11:31:28 -04:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|