Files
notifications-admin/app/templates/views/send-test.html
T

53 lines
2.0 KiB
HTML
Raw Normal View History

{% extends "withnav_template.html" %}
2019-04-29 11:44:05 +01:00
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
{% from "components/back-link/macro.njk" import govukBackLink %}
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
{{ page_title }}
{% endblock %}
{% block backLink %}
{{ govukBackLink({ "href": back_link }) }}
{% endblock %}
{% block maincolumn_content %}
{{ page_header(page_title) }}
{% call form_wrapper(
class='js-stick-at-top-when-scrolling send-one-off-form' if template.template_type != 'sms' else 'send-one-off-form',
2019-03-28 16:45:36 +00:00
module="autofocus",
2019-04-03 14:23:07 +01:00
data_kwargs={'force-focus': True}
) %}
2020-02-19 11:57:15 +00:00
<div class="govuk-grid-row">
2020-03-15 14:56:52 +00:00
<div class="govuk-grid-column-full {% if form.placeholder_value.label.text == 'phone number' %}extra-tracking{% endif %}">
{{ form.placeholder_value(param_extensions={"classes": "govuk-!-width-full"}) }}
2017-05-25 13:31:51 +01:00
</div>
2020-03-15 14:56:52 +00:00
{% if skip_link or link_to_upload %}
<div class="govuk-grid-column-full">
{% if link_to_upload %}
2021-01-06 13:02:09 +00:00
<a class="govuk-link govuk-link--no-visited-state govuk-!-margin-right-3" href="{{ url_for('.send_messages', service_id=current_service.id, template_id=template.id) }}">Upload a list of {{ 999|recipient_count_label(template.template_type) }}</a>
2020-03-16 14:57:36 +00:00
{% if current_service.contact_lists %}
2020-12-31 14:03:54 +00:00
<a class="govuk-link govuk-link--no-visited-state govuk-!-margin-right-3" href="{{ url_for('.choose_from_contact_list', service_id=current_service.id, template_id=template.id) }}">Use an emergency list</a>
2020-03-15 15:54:49 +00:00
{% endif %}
2020-03-15 14:56:52 +00:00
{% endif %}
{% if skip_link %}
<a href="{{ skip_link[1] }}" class="govuk-link govuk-link--no-visited-state govuk-!-margin-right-3">{{ skip_link[0] }}</a>
{% endif %}
2017-05-25 13:31:51 +01:00
</div>
{% endif %}
</div>
2018-07-18 09:48:19 +01:00
{% if link_to_upload %}
<p class="govuk-body">
2020-03-15 14:56:52 +00:00
2018-07-18 09:48:19 +01:00
</p>
{% endif %}
2019-04-29 11:44:05 +01:00
{{ page_footer('Continue') }}
2018-09-19 12:39:36 +01:00
{% endcall %}
{{ template|string }}
{% endblock %}