mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 09:29:14 -04:00
Add who’s its for page
We have a policy about how suppliers are allowed to use Notify. But we don’t explain it anywhere. Which drives contact to our support form. This commit that adds a new page that explains the policy. I’ve moved the related content about who else can use Notify from the get started page to this page as well, where it doesn’t need to sit in a details element.
This commit is contained in:
@@ -320,6 +320,14 @@ def get_started():
|
||||
)
|
||||
|
||||
|
||||
@main.route('/using-notify/who-its-for')
|
||||
def who_its_for():
|
||||
return render_template(
|
||||
'views/guidance/who-its-for.html',
|
||||
navigation_links=using_notify_nav(),
|
||||
)
|
||||
|
||||
|
||||
@main.route('/trial-mode')
|
||||
@main.route('/features/trial-mode')
|
||||
def trial_mode():
|
||||
|
||||
@@ -52,6 +52,10 @@ def using_notify_nav():
|
||||
"name": "Get started",
|
||||
"link": "main.get_started",
|
||||
},
|
||||
{
|
||||
"name": "Who it’s for",
|
||||
"link": "main.who_its_for",
|
||||
},
|
||||
{
|
||||
"name": "Trial mode",
|
||||
"link": "main.trial_mode_new",
|
||||
|
||||
@@ -346,6 +346,7 @@ class HeaderNavigation(Navigation):
|
||||
'no_cookie.view_template_version_preview',
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
# header HTML now comes from GOVUK Frontend so requires a boolean, not an attribute
|
||||
@@ -659,6 +660,7 @@ class MainNavigation(Navigation):
|
||||
'view_provider',
|
||||
'view_providers',
|
||||
'no_cookie.view_template_version_preview',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
|
||||
@@ -963,6 +965,7 @@ class CaseworkNavigation(Navigation):
|
||||
'no_cookie.view_template_version_preview',
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
|
||||
@@ -1268,4 +1271,5 @@ class OrgNavigation(Navigation):
|
||||
'no_cookie.view_template_version_preview',
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
@@ -217,6 +217,10 @@
|
||||
"href": url_for("main.get_started"),
|
||||
"text": "Get started"
|
||||
},
|
||||
{
|
||||
"href": url_for("main.who_its_for"),
|
||||
"text": "Who it’s for",
|
||||
},
|
||||
{
|
||||
"href": url_for("main.trial_mode_new"),
|
||||
"text": "Trial mode"
|
||||
|
||||
@@ -15,21 +15,9 @@
|
||||
<li class="get-started-list__item">
|
||||
<h2 class="get-started-list__heading">Check if GOV.UK Notify is right for you</h2>
|
||||
<p>Read about our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.features') }}">features</a>, <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.pricing') }}">pricing</a> and <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.roadmap') }}">roadmap</a>.</p>
|
||||
{{ govukDetails({
|
||||
"summaryText": "Organisations that can use Notify",
|
||||
"html": '''
|
||||
<div id="eligible-organisations">
|
||||
<p>Notify is available to:</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>central government departments</li>
|
||||
<li>local authorities</li>
|
||||
<li>state-funded schools</li>
|
||||
<li>the NHS</li>
|
||||
<li>companies running a service on behalf of a public sector organisation</li>
|
||||
</ul>
|
||||
<p>Notify is not currently available to charities.</p>
|
||||
</div>'''
|
||||
}) }}
|
||||
<p class="govuk-body">
|
||||
Check <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.who_its_for') }}">whether your organisation can use Notify</a>.
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li class="get-started-list__item">
|
||||
|
||||
48
app/templates/views/guidance/who-its-for.html
Normal file
48
app/templates/views/guidance/who-its-for.html
Normal file
@@ -0,0 +1,48 @@
|
||||
{% extends "content_template.html" %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
|
||||
{% block per_page_title %}
|
||||
Who it’s for
|
||||
{% endblock %}
|
||||
|
||||
{% block content_column_content %}
|
||||
|
||||
{{ page_header(
|
||||
'Who it’s for'
|
||||
) }}
|
||||
|
||||
<p class="govuk-body">
|
||||
GOV.UK Notify is available to:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>central government departments</li>
|
||||
<li>local authorities</li>
|
||||
<li>the NHS</li>
|
||||
<li>police forces and fire services</li>
|
||||
<li>state-funded schools</li>
|
||||
</ul>
|
||||
<p class="govuk-body">
|
||||
Notify is not currently available to charities.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
If you work for one of these organisations but get an error when you try to create an account, <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.support') }}">contact support</a>.
|
||||
</p>
|
||||
|
||||
<h2 class="govuk-heading-m">Suppliers</h2>
|
||||
<p class="govuk-body">
|
||||
If you’re doing work for a public sector organisation you can use GOV.UK Notify.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
Someone from the public sector organisation you’re working with needs to set up the account. Then they can invite you as a team member.
|
||||
</p>
|
||||
|
||||
<h2 class="govuk-heading-m">Members of the public</h2>
|
||||
<p class="govuk-body">
|
||||
The GOV.UK Notify service is only for people who work in the government
|
||||
or other public sector organisations.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="https://www.gov.uk">Find government services and information on GOV.UK</a>.
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
@@ -83,7 +83,7 @@ def test_robots(client):
|
||||
'features_letters', 'how_to_pay', 'get_started',
|
||||
'guidance_index', 'branding_and_customisation',
|
||||
'create_and_send_messages', 'edit_and_format_messages',
|
||||
'send_files_by_email', 'upload_a_letter',
|
||||
'send_files_by_email', 'upload_a_letter', 'who_its_for',
|
||||
])
|
||||
def test_static_pages(
|
||||
client_request,
|
||||
|
||||
Reference in New Issue
Block a user