Merge pull request #1090 from alphagov/fix-trial-mode-error

Fix trial mode error message when uploading CSV
This commit is contained in:
Chris Hill-Scott
2017-01-24 17:17:05 +00:00
committed by GitHub
2 changed files with 32 additions and 2 deletions

View File

@@ -105,9 +105,9 @@
<h1 class='banner-title'>
You cant send to
{{ 'this' if count_of_recipients == 1 else 'these' }}
{{ recipients.recipient_column_header }}
{{ recipients.recipient_column_headers[0] }}
{%- if count_of_recipients != 1 -%}
{{ 'es' if 'email address' == recipients.recipient_column_header else 's' }}
{{ 'es' if 'email address' == recipients.recipient_column_headers[0] else 's' }}
{%- endif %}
</h1>
<p>