Update content to work in task list pattern

We probably don't need to use a lead-in for a task list / table.

Also moves the line about making the service live within one day to the
next screen.
This commit is contained in:
Chris Hill-Scott
2018-08-29 10:19:58 +01:00
parent 45eb16b4db
commit 7c6627254b
3 changed files with 30 additions and 32 deletions

View File

@@ -7,33 +7,32 @@
{% from "components/task-list.html" import task_list_wrapper, task_list_item %}
{% block service_page_title %}
Request to go live
Before you request to go live
{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-whole">
<h1 class="heading-large">Request to go live</h1>
<p>
Before your service can go live on Notify, you need:
</p>
<h1 class="heading-large">Before you request to go live</h1>
{% call task_list_wrapper() %}
{{ task_list_item(
has_team_members,
'More than one <a href="{}">team member</a> with the Manage settings permission'.format(
'Add a <a href="{}">team member</a> who can manage settings, team and usage
'.format(
url_for('main.manage_users', service_id=current_service.id)
)|safe,
) }}
{{ task_list_item(
has_templates,
'<a href="{}">Templates</a> showing the kind of messages you plan to send'.format(
'Add content to
<a href="{}">templates</a> to show the kind of messages youll send'.format(
url_for('main.choose_template', service_id=current_service.id)
)|safe,
) }}
{% if has_email_templates %}
{{ task_list_item(
has_email_reply_to_address,
'An <a href="{}">email reply-to address</a>'.format(
'Add an <a href="{}">email reply-to address</a>'.format(
url_for('main.service_email_reply_to', service_id=current_service.id)
)|safe,
) }}
@@ -41,16 +40,15 @@
{% if has_sms_templates and shouldnt_use_govuk_as_sms_sender %}
{{ task_list_item(
not sms_sender_is_govuk,
'Change your text message sender from GOVUK'
'Change your <a href="{}">text message sender name</a>'.format(
url_for('main.service_sms_senders', service_id=current_service.id)
)|safe
) }}
{% endif %}
{% endcall %}
<p>
You also need to accept our <a href="{{ url_for('.terms') }}">terms of use</a>.
</p>
<p class="bottom-gutter">
Well make your service live within one working day.
</p>
<p>
<a href="{{ url_for('main.submit_request_to_go_live', service_id=current_service.id) }}" class="button">Continue</a>
</p>

View File

@@ -6,12 +6,16 @@
{% from "components/banner.html" import banner_wrapper %}
{% block service_page_title %}
How do you plan to use Notify?
Request to go live
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">How do you plan to use Notify?</h1>
<h1 class="heading-large">Request to go live</h1>
<p class="bottom-gutter">
Tell us how you plan to use Notify. When we receive your request well make your service live within one working day.
</p>
<form method="post" class="top-gutter">
{{ checkbox_group('What kind of messages will you be sending?', [