diff --git a/app/templates/partials/check/message-too-long.html b/app/templates/partials/check/message-too-long.html new file mode 100644 index 000000000..5dde66856 --- /dev/null +++ b/app/templates/partials/check/message-too-long.html @@ -0,0 +1,10 @@ +
+ Text messages can’t be longer than {{ template|string|length }} characters. Your message is {{message_length}} characters. +
+ {% endcall %} ++ In trial mode you can only + send to yourself and members of your team +
+ {{ skip_to_file_contents() }} + {% endcall %} +You can only send {{ current_service.message_limit }} messages per day @@ -10,29 +14,31 @@ {%- endif -%} .
-- {% if current_service.message_limit != remaining_messages %} - You can still send {{ remaining_messages }} messages today, but - {% endif %} - ‘{{ 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 -%}. -
+ {% if original_file_name %} ++ {% if current_service.message_limit != remaining_messages %} + You can still send {{ remaining_messages }} messages today, but + {% endif %} + ‘{{ 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 -%}. +
+ {% endif %} {% endcall %}- In trial mode you can only - send to yourself and members of your team -
- {{ skip_to_file_contents() }} - {% endcall %} -