2017-07-20 11:28:26 +01:00
|
|
|
|
<h1 class='banner-title' data-module="track-error" data-error-type="Trial mode: too many recipients" data-error-label="{{ upload_id }}">
|
2017-07-20 09:20:01 +01:00
|
|
|
|
{% if original_file_name %}
|
|
|
|
|
|
Too many recipients
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
Daily limit reached
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
</h1>
|
2020-05-29 17:11:01 +01:00
|
|
|
|
<p class="govuk-body">
|
2017-07-20 09:20:01 +01:00
|
|
|
|
You can only send {{ current_service.message_limit }} messages per day
|
2018-10-26 11:19:50 +01:00
|
|
|
|
{%- if current_service.trial_mode %}
|
2019-12-06 07:53:46 +00:00
|
|
|
|
in <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.trial_mode_new')}}">trial mode</a>
|
2017-07-20 09:20:01 +01:00
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{% if original_file_name %}
|
2020-05-29 17:11:01 +01:00
|
|
|
|
<p class="govuk-body">
|
2017-07-20 09:20:01 +01:00
|
|
|
|
{% if current_service.message_limit != remaining_messages %}
|
|
|
|
|
|
You can still send {{ remaining_messages }} messages today, but
|
2017-06-29 12:23:42 +01:00
|
|
|
|
{% endif %}
|
2017-07-20 09:20:01 +01:00
|
|
|
|
‘{{ original_file_name }}’ contains
|
|
|
|
|
|
{{ count_of_recipients }}
|
|
|
|
|
|
{% if count_of_recipients == 1 -%}
|
|
|
|
|
|
{%- if template.template_type == 'email' -%}
|
|
|
|
|
|
email address
|
|
|
|
|
|
{%- elif template.template_type == 'sms' -%}
|
|
|
|
|
|
phone number
|
|
|
|
|
|
{%- elif template.template_type == 'letter' -%}
|
|
|
|
|
|
address
|
|
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
{%- else -%}
|
|
|
|
|
|
{%- if template.template_type == 'email' -%}
|
|
|
|
|
|
email addresses
|
|
|
|
|
|
{%- elif template.template_type == 'sms' -%}
|
|
|
|
|
|
phone numbers
|
|
|
|
|
|
{%- elif template.template_type == 'letter' -%}
|
|
|
|
|
|
addresses
|
|
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
{%- endif -%}.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{% endif %}
|