mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 18:18:26 -04:00
We had 7 classes in _grids.scss named `.column-...` which were being used to give a certain column width. These worked by using `@include grid column()`, which is now deprecated. `.column-whole` and `.column-three-quarters` can be removed and replaced with `govuk-grid-column-full` and `govuk-grid-column-three-quarters` respectively. The other column classes don't have a direct replacment in GOV.UK Frontend. To get round this, we overwrite the `$govuk-grid-width` SASS map in `extensions.scss` to add in extra widths, then use this with the `govuk-grid-column` mixin to create new classes in for our custom widths in `_grids.scss`
81 lines
3.2 KiB
HTML
81 lines
3.2 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
{% from "components/page-header.html" import page_header %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/task-list.html" import task_list_wrapper, task_list_item %}
|
||
|
||
{% block service_page_title %}
|
||
Before you request to go live
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
<div class="govuk-grid-row">
|
||
<div class="govuk-grid-column-full">
|
||
{{ page_header(
|
||
'Before you request to go live',
|
||
back_link=url_for('main.service_settings', service_id=current_service.id)
|
||
) }}
|
||
{% call task_list_wrapper() %}
|
||
{{ task_list_item(
|
||
current_service.has_estimated_usage,
|
||
'Tell us how many messages you expect to send',
|
||
url_for('main.estimate_usage', service_id=current_service.id),
|
||
) }}
|
||
{{ task_list_item(
|
||
current_service.has_team_members,
|
||
'Add a team member who can manage settings, team and usage',
|
||
url_for('main.manage_users', service_id=current_service.id),
|
||
) }}
|
||
{{ task_list_item(
|
||
current_service.has_templates,
|
||
'Add templates with examples of the content you plan to send',
|
||
url_for('main.choose_template', service_id=current_service.id),
|
||
) }}
|
||
{% if current_service.intending_to_send_email %}
|
||
{{ task_list_item(
|
||
current_service.has_email_reply_to_address,
|
||
'Add a reply-to email address',
|
||
url_for('main.service_email_reply_to', service_id=current_service.id),
|
||
) }}
|
||
{% endif %}
|
||
{% if (
|
||
current_service.intending_to_send_sms
|
||
and current_service.shouldnt_use_govuk_as_sms_sender
|
||
) %}
|
||
{{ task_list_item(
|
||
not current_service.sms_sender_is_govuk,
|
||
'Change your text message sender name',
|
||
url_for('main.service_sms_senders', service_id=current_service.id),
|
||
) }}
|
||
{% endif %}
|
||
{% if current_service.able_to_accept_agreement %}
|
||
{{ task_list_item(
|
||
current_service.organisation.agreement_signed,
|
||
'Accept our data sharing and financial agreement',
|
||
url_for('main.service_agreement', service_id=current_service.id),
|
||
) }}
|
||
{% endif %}
|
||
{% endcall %}
|
||
{% if not current_user.is_gov_user %}
|
||
<p>
|
||
Only team members with a government email address can request to go live.
|
||
</p>
|
||
{% elif (not current_service.go_live_checklist_completed) or (current_service.able_to_accept_agreement and not current_service.organisation.agreement_signed) %}
|
||
<p>
|
||
You must complete these steps before you can request to go live.
|
||
</p>
|
||
{% else %}
|
||
<p>
|
||
When we receive your request we’ll get back to you within one working day.
|
||
</p>
|
||
<p class="bottom-gutter">
|
||
By requesting to go live you’re agreeing to our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.terms') }}">terms of use</a>.
|
||
</p>
|
||
{% call form_wrapper() %}
|
||
{{ page_footer('Request to go live') }}
|
||
{% endcall %}
|
||
{% endif %}
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|