From 0a355d70893f04639e309a63ef2a23e6f9c540ba Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 15 Oct 2019 09:39:24 +0100 Subject: [PATCH 01/32] Create Get started page --- app/templates/views/get-started | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/templates/views/get-started diff --git a/app/templates/views/get-started b/app/templates/views/get-started new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/app/templates/views/get-started @@ -0,0 +1 @@ + From feae9ebcdd50bdf9d99c6bce8841294c2de9f060 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 15 Oct 2019 11:38:30 +0100 Subject: [PATCH 02/32] Add draft content --- app/templates/views/get-started | 79 +++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index 8b1378917..4772fdf56 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -1 +1,80 @@ +{% extends "content_template.html" %} +{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %} +{% from "components/sub-navigation.html" import sub_navigation %} +{% block per_page_title %} + Get started +{% endblock %} + +{% block content_column_content %} + +

Get started with GOV.UK Notify

+ +
    +
  1. +

    Check if you can use GOV.UK Notify

    +
    + Organisations that can use Notify +

    Notify is available to:

    +
      +
    • central government departments
    • +
    • local authorities
    • +
    • state-funded schools
    • +
    • housing associations
    • +
    • the NHS
    • +
    • companies owned by local or central government that deliver services on their behalf
    • +
    +

    Notify is not currently available to charities.

    +
    +

    To find out whether Notify meets your needs, read about our: +

    +

    You can read about our features and roadmap to find out whether Notify meets your needs.

    +

    If you plan to integrate with our API, you can share our documentation with your developers.

    +
  2. + +
  3. +

    Create an account

    + {% if not current_user.is_authenticated %} +

    Create an account for free and set up your first Notify service.

    + {% else %} +

    Create an account for free and set up your first Notify service.

    + {% endif %} +

    When you set up a new service, it will start in trial mode. This will let you send messages to yourself and other members of your team.

    +
  4. + +
  5. +

    Add message templates

    +

    While your service is still in trial mode, add templates with examples of the content you plan to send.

    +

    GOV.UK has written guidance on:

    + +

    We recommend testing your messages and changing your settings until everything is working the way you want it to.

    +
  6. + +
  7. +

    Share Notify with your team

    + {% if not current_user.is_authenticated %} +

    You can invite colleagues from the team members page.

    + {% else %} +

    You can invite colleagues from the team members page.

    + {% endif %} +

    Notify lets you control which members of your team can see, create, edit and send messages.

    +

    If you're using our API to automate your messages, share our documentation with your developers.

    +
  8. + +
  9. +

    Start sending messages

    + {% if not current_user.is_authenticated %} +

    When you're ready to start sending messages to people outside your team, you can send us a request to go live.

    + {% else %} +

    When you're ready to start sending messages to people outside your team, you can send us a request to go live.

    + {% endif %} +

    By requesting to go live you’re agreeing to our terms of use, data sharing and financial agreements.

    +

    When we receive your request we’ll get back to you within one working day.

    + +{% endblock %} From 78f44e2433fa0bbea645820c7acbc2a6d1893603 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 15 Oct 2019 17:09:12 +0100 Subject: [PATCH 03/32] Update content --- app/templates/views/get-started | 46 ++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index 4772fdf56..c842f5589 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -26,55 +26,55 @@

    Notify is not currently available to charities.

    -

    To find out whether Notify meets your needs, read about our: -

    -

    You can read about our features and roadmap to find out whether Notify meets your needs.

    -

    If you plan to integrate with our API, you can share our documentation with your developers.

    + +

    Read about our features and roadmap to find out whether Notify meets your needs.

  10. Create an account

    {% if not current_user.is_authenticated %} -

    Create an account for free and set up your first Notify service.

    +

    Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

    {% else %} -

    Create an account for free and set up your first Notify service.

    +

    Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

    {% endif %} -

    When you set up a new service, it will start in trial mode. This will let you send messages to yourself and other members of your team.

  11. -

    Add message templates

    -

    While your service is still in trial mode, add templates with examples of the content you plan to send.

    -

    GOV.UK has written guidance on:

    +

    Write some messages

    +

    Add reusable message templates with examples of the content you plan to send.

    +

    The GOV.UK Service Manual has advice on:

    -

    We recommend testing your messages and changing your settings until everything is working the way you want it to.

    + +

    If you’re planning to upload your own letters, you do not need to add letter templates.

  12. -

    Share Notify with your team

    +

    API integration (optional)

    +

    Share our documentation with your developers to help them set up an API integration.

    + +

    You only need to do this if you're using the API to send messages automatically, rather than signing in to Notify.

    +
  13. + +
  14. +

    Manage your team members and settings

    {% if not current_user.is_authenticated %} -

    You can invite colleagues from the team members page.

    +

    Check that each of your team members has the right permissions.

    +

    Review your settings to make sure you have the right branding and sender information.

    {% else %} -

    You can invite colleagues from the team members page.

    +

    Check that each of your team members has the right permissions.

    +

    Review your settings to make sure you have the right branding and sender information.

    {% endif %} -

    Notify lets you control which members of your team can see, create, edit and send messages.

    -

    If you're using our API to automate your messages, share our documentation with your developers.

  15. Start sending messages

    {% if not current_user.is_authenticated %} -

    When you're ready to start sending messages to people outside your team, you can send us a request to go live.

    +

    Request to go live when you're ready to start sending messages to people outside your team.

    {% else %}

    When you're ready to start sending messages to people outside your team, you can send us a request to go live.

    {% endif %} -

    By requesting to go live you’re agreeing to our terms of use, data sharing and financial agreements.

    When we receive your request we’ll get back to you within one working day.

    {% endblock %} From c781a7c07a34c9dcf6a59cf603a80a2a22fa0718 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 08:56:44 +0100 Subject: [PATCH 04/32] Fix smart quotes --- app/templates/views/get-started | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index c842f5589..4a13e8663 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -54,7 +54,7 @@

    API integration (optional)

    Share our documentation with your developers to help them set up an API integration.

    -

    You only need to do this if you're using the API to send messages automatically, rather than signing in to Notify.

    +

    You only need to do this if you’re using the API to send messages automatically, rather than signing in to Notify.

  16. @@ -71,7 +71,7 @@
  17. Start sending messages

    {% if not current_user.is_authenticated %} -

    Request to go live when you're ready to start sending messages to people outside your team.

    +

    Request to go live when you’re ready to start sending messages to people outside your team.

    {% else %}

    When you're ready to start sending messages to people outside your team, you can send us a request to go live.

    {% endif %} From 7764a1b4404f04574af14a59862dbb6c2a8e70b3 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:17:52 +0100 Subject: [PATCH 05/32] Add anchor to h3 --- app/templates/views/features/letters.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/features/letters.html b/app/templates/views/features/letters.html index e7b31508f..2903c48f6 100644 --- a/app/templates/views/features/letters.html +++ b/app/templates/views/features/letters.html @@ -27,7 +27,7 @@

    First class letters are delivered one day after they’re dispatched. Second class letters are delivered 2 days after they’re dispatched.

    Letters are printed at 5.30pm and dispatched the next working day (Monday to Friday). Royal Mail delivers from Monday to Saturday, excluding bank holidays.

    -

    Upload your own letters

    +

    Upload your own letters

    You can create reusable letter templates in Notify, or upload and send your own letters with the Notify API.

    Use the letter specification document to help you set up your letter, save it as a PDF, then upload it to Notify.

    Read our API documentation for more information.

    From 50bb0764c95d4a2126dcce9525d25d4383cfa6a6 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:19:32 +0100 Subject: [PATCH 06/32] Add anchor to h2 --- app/templates/views/features.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/features.html b/app/templates/views/features.html index 4bf572878..a57bc5640 100644 --- a/app/templates/views/features.html +++ b/app/templates/views/features.html @@ -21,7 +21,7 @@

    Create an account for free and try it yourself.

    {% endif %} -

    Reusable message templates

    +

    Reusable message templates

    To send an email, text or letter with Notify, you need to create a reusable message template first.

    Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.

    From 26aa3d32d610cec0d686e88d72051baf8fa8f624 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:20:51 +0100 Subject: [PATCH 07/32] Add id to Permissions h2 --- app/templates/views/features.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/features.html b/app/templates/views/features.html index a57bc5640..b31b58114 100644 --- a/app/templates/views/features.html +++ b/app/templates/views/features.html @@ -40,7 +40,7 @@

    Notify’s real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.

    Read more about how message status works.

    -

    Permissions

    +

    Permissions

    Control which members of your team can see, create, edit and send messages.

    Notify lets you:

      From 541a0237085892a6410b1b0ee356fceb1f8849cc Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:23:39 +0100 Subject: [PATCH 08/32] Add ids to remaining H2s These are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content. --- app/templates/views/features.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/templates/views/features.html b/app/templates/views/features.html index b31b58114..1ff8bf309 100644 --- a/app/templates/views/features.html +++ b/app/templates/views/features.html @@ -25,18 +25,18 @@

      To send an email, text or letter with Notify, you need to create a reusable message template first.

      Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.

      -

      Personalised content

      +

      Personalised content

      Notify makes it easy to send personalised messages from a single template.

      If you want to include personalised content in your message, you can add a placeholder. Placeholders are filled in with details, like a name or reference number, each time you send a message. You can do this manually or upload a list of personal details and let Notify do it for you.

      -

      Bulk sending

      +

      Bulk sending

      To send a batch of messages at once, upload a list of contact details to Notify. If you’re sending emails and text messages, you can also schedule the date and time you want them to be sent.

      -

      API integration

      +

      API integration

      You can integrate the Notify API with your web application or back-office system to send messages automatically.

      Read our API documentation for more information.

      -

      Reporting

      +

      Reporting

      Notify’s real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.

      Read more about how message status works.

      @@ -49,7 +49,7 @@
    • choose who else can manage team members
    -

    Performance

    +

    Performance

    Notify commits to:

    • sending 95% of emails and text messages within 10 seconds
    • @@ -60,7 +60,7 @@

      Visit GOV.UK Performance to see how Notify is performing.

      -

      Security

      +

      Security

      Notify protects and manages data to meet the needs of government services.

      Hide sensitive information

      @@ -70,7 +70,7 @@

      Notify uses two-factor authentication (2FA) to keep your account secure. When you sign in, we’ll send a unique one-time code to your phone and ask you to enter it before we let you use your account.

      Read more about security. -

      Support

      +

      Support

      Notify provides 24-hour online support. If you have an emergency outside office hours, we’ll reply within 30 minutes.

      Find out more about support.

      From 8c782b040a63cd623e41f9c48df32995236de035 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:35:39 +0100 Subject: [PATCH 09/32] Add links --- app/templates/views/get-started | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index 4a13e8663..92a220b72 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -33,21 +33,21 @@
    • Create an account

      {% if not current_user.is_authenticated %} -

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      +

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      {% else %} -

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      +

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      {% endif %}
    • Write some messages

      -

      Add reusable message templates with examples of the content you plan to send.

      +

      Add reusable message templates with examples of the content you plan to send.

      The GOV.UK Service Manual has advice on:

      -

      If you’re planning to upload your own letters, you do not need to add letter templates.

      +

      If you’re planning to upload your own letters, you do not need to add letter templates.

    • @@ -60,10 +60,10 @@
    • Manage your team members and settings

      {% if not current_user.is_authenticated %} -

      Check that each of your team members has the right permissions.

      +

      Check that each of your team members has the right permissions.

      Review your settings to make sure you have the right branding and sender information.

      {% else %} -

      Check that each of your team members has the right permissions.

      +

      Check that each of your team members has the right permissions.

      Review your settings to make sure you have the right branding and sender information.

      {% endif %}
    • @@ -71,9 +71,9 @@
    • Start sending messages

      {% if not current_user.is_authenticated %} -

      Request to go live when you’re ready to start sending messages to people outside your team.

      +

      You should request to go live when you’re ready to start sending messages to people outside your team.

      {% else %} -

      When you're ready to start sending messages to people outside your team, you can send us a request to go live.

      +

      You should request to go live when you’re ready to start sending messages to people outside your team.

      {% endif %}

      When we receive your request we’ll get back to you within one working day.

      From 07358f27b793e4343afa33b2e6033d6d3b229fc5 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:44:07 +0100 Subject: [PATCH 10/32] Fix if statements Swap content round so the if statement works properly. --- app/templates/views/get-started | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index 92a220b72..b67b338a2 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -60,20 +60,20 @@
    • Manage your team members and settings

      {% if not current_user.is_authenticated %} -

      Check that each of your team members has the right permissions.

      -

      Review your settings to make sure you have the right branding and sender information.

      - {% else %}

      Check that each of your team members has the right permissions.

      Review your settings to make sure you have the right branding and sender information.

      + {% else %} +

      Check that each of your team members has the right permissions.

      +

      Review your settings to make sure you have the right branding and sender information.

      {% endif %}
    • Start sending messages

      {% if not current_user.is_authenticated %} -

      You should request to go live when you’re ready to start sending messages to people outside your team.

      - {% else %}

      You should request to go live when you’re ready to start sending messages to people outside your team.

      + {% else %} +

      You should request to go live when you’re ready to start sending messages to people outside your team.

      {% endif %}

      When we receive your request we’ll get back to you within one working day.

      From 84b5f8e69004bec0779b76376d7ed0b40abd937e Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 10:59:08 +0100 Subject: [PATCH 11/32] Update h1 --- app/templates/views/get-started | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index b67b338a2..8c3e7468c 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -8,7 +8,7 @@ {% block content_column_content %} -

      Get started with GOV.UK Notify

      +

      Get started

      1. From 52b5936912555b22c04155aee09cc28050743cbf Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 12:08:45 +0100 Subject: [PATCH 12/32] Add links to account pages --- app/templates/views/get-started | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index 8c3e7468c..d05dab3ab 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -63,8 +63,8 @@

        Check that each of your team members has the right permissions.

        Review your settings to make sure you have the right branding and sender information.

        {% else %} -

        Check that each of your team members has the right permissions.

        -

        Review your settings to make sure you have the right branding and sender information.

        +

        Check that each of your team members has the right permissions.

        +

        Review your settings to make sure you have the right branding and sender information.

        {% endif %}
      2. @@ -73,7 +73,7 @@ {% if not current_user.is_authenticated %}

        You should request to go live when you’re ready to start sending messages to people outside your team.

        {% else %} -

        You should request to go live when you’re ready to start sending messages to people outside your team.

        +

        You should request to go live when you’re ready to start sending messages to people outside your team.

        {% endif %}

        When we receive your request we’ll get back to you within one working day.

        From 8492f3f8068b260dbb4852ae59015f82f9827d3a Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 13:50:37 +0100 Subject: [PATCH 13/32] Add ids to headings --- app/templates/views/features/emails.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/views/features/emails.html b/app/templates/views/features/emails.html index 668457478..62a9317a5 100644 --- a/app/templates/views/features/emails.html +++ b/app/templates/views/features/emails.html @@ -22,11 +22,11 @@

    You can also integrate with our API to send emails automatically.

    -

    Email branding

    +

    Email branding

    Add your organisation’s logo and brand colour to email templates.

    You can change your branding in your service settings.

    -

    Send files by email

    +

    Send files by email

    Notify offers a safe and reliable way to send files by email.

    Upload a file using our API, then send your users an email with a link to download it.

    Notify uses encrypted links instead of email attachments because:

    @@ -38,7 +38,7 @@

    Contact us if you want to send files by email.

    Read our API documentation for more information.

    -

    Add a reply-to address

    +

    Add a reply-to address

    Notify lets you choose the email address that users reply to.

    Emails with a reply-to address seem more trustworthy and are less likely to be labelled as spam.

    You can add reply-to addresses in your service settings.

    From 2e392aa9e3b215924486049397f2f8a661ba3843 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 13:52:20 +0100 Subject: [PATCH 14/32] Add ids to headings These are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content. --- app/templates/views/features/text-messages.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/features/text-messages.html b/app/templates/views/features/text-messages.html index 46fa543dc..a15f7e864 100644 --- a/app/templates/views/features/text-messages.html +++ b/app/templates/views/features/text-messages.html @@ -21,12 +21,12 @@
  18. send and schedule bulk messages
  19. You can also integrate with our API to send text messages automatically.

    -

    Receive text messages

    +

    Receive text messages

    Let people send messages to your service or reply to your texts.

    You can see and reply to the messages you receive when you sign in to Notify. If you’re using our API, you can set up your own automated processes to manage replies.

    Contact us to request a unique number for text message replies.

    -

    Show people who your texts are from

    +

    Show people who your texts are from

    When you send a text message with Notify, the sender name tells people who it's from.

    You can change the text message sender name from the default of ‘GOVUK’ in your service settings.

    From 9234b8830ce83aeb6c3e7344e31217ae0e2a1819 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 16 Oct 2019 13:58:15 +0100 Subject: [PATCH 15/32] Add ids to headings, add branding information The ids are not needed for the first iteration of the Get started page, but we'll start using them as we add and iterate guidance and features content. We should mention letter branding as a feature. --- app/templates/views/features/letters.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/templates/views/features/letters.html b/app/templates/views/features/letters.html index 2903c48f6..d7d9755f5 100644 --- a/app/templates/views/features/letters.html +++ b/app/templates/views/features/letters.html @@ -22,11 +22,15 @@

    You can also integrate with our API to send letters automatically.

    -

    Choose your postage

    +

    Choose your postage

    Notify can send letters by first or second class post.

    First class letters are delivered one day after they’re dispatched. Second class letters are delivered 2 days after they’re dispatched.

    Letters are printed at 5.30pm and dispatched the next working day (Monday to Friday). Royal Mail delivers from Monday to Saturday, excluding bank holidays.

    +

    Branding

    +

    Add your organisation’s logo to your letter templates.

    +

    You can change your branding in your service settings.

    +

    Upload your own letters

    You can create reusable letter templates in Notify, or upload and send your own letters with the Notify API.

    Use the letter specification document to help you set up your letter, save it as a PDF, then upload it to Notify.

    From cd34e1860411c9997fe4a6498b5dfc892cbca725 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 15:22:49 +0100 Subject: [PATCH 16/32] Update content --- app/templates/views/get-started | 47 ++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index d05dab3ab..b5c60ee7b 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -12,7 +12,8 @@

    1. -

      Check if you can use GOV.UK Notify

      +

      Check if GOV.UK Notify is right for you

      +

      Read about our features, pricing and roadmap.

      Organisations that can use Notify

      Notify is available to:

      @@ -26,55 +27,57 @@

      Notify is not currently available to charities.

      - -

      Read about our features and roadmap to find out whether Notify meets your needs.

    2. Create an account

      {% if not current_user.is_authenticated %} -

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      +

      Create an account for free and add your first Notify service. When you set up a new service, it will start in trial mode.

      {% else %} -

      Create an account for free and set up your first Notify service. When you set up a new service, it will start in trial mode.

      +

      Create an account for free and add your first Notify service. When you set up a new service, it will start in trial mode.

      {% endif %}
    3. Write some messages

      -

      Add reusable message templates with examples of the content you plan to send.

      +

      Add message templates with examples of the content you plan to send. You do not need to add letter templates if you’re planning to upload your own letters.

      The GOV.UK Service Manual has advice on:

      -

      If you’re planning to upload your own letters, you do not need to add letter templates.

    4. -

      API integration (optional)

      +

      Set up your service

      + {% if not current_user.is_authenticated %} +

      Review your service settings to make sure your messages have the right branding.

      +

      Add team members and check their permissions.

      + {% else %} +

      Review your service settings to make sure you have the right branding.

      +

      Add team members and check their permissions.

      + {% endif %} +
    5. + +
    6. +

      API integration (optional)

      Share our documentation with your developers to help them set up an API integration.

      You only need to do this if you’re using the API to send messages automatically, rather than signing in to Notify.

    7. - -
    8. -

      Manage your team members and settings

      - {% if not current_user.is_authenticated %} -

      Check that each of your team members has the right permissions.

      -

      Review your settings to make sure you have the right branding and sender information.

      - {% else %} -

      Check that each of your team members has the right permissions.

      -

      Review your settings to make sure you have the right branding and sender information.

      - {% endif %} -
    9. Start sending messages

      {% if not current_user.is_authenticated %} -

      You should request to go live when you’re ready to start sending messages to people outside your team.

      +

      You should request to go live when you’re ready to send messages to people outside your team. We’ll get back to you within one working day.

      {% else %} -

      You should request to go live when you’re ready to start sending messages to people outside your team.

      +

      You should request to go live when you’re ready to send messages to people outside your team. We’ll get back to you within one working day.

      {% endif %} -

      When we receive your request we’ll get back to you within one working day.

      +

      Once your service is live, we’ll send you an invoice if you:

      + +

      See how to pay.

      {% endblock %} From 8696ceb43fdc268c41f01b65248a10a50b34b736 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 15:25:31 +0100 Subject: [PATCH 17/32] Change 'set up' to 'add' 'Add' matches the buttons users will see in the service. --- app/templates/views/pricing/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/views/pricing/index.html b/app/templates/views/pricing/index.html index 9d2959f9b..fb43e4191 100644 --- a/app/templates/views/pricing/index.html +++ b/app/templates/views/pricing/index.html @@ -20,19 +20,19 @@

      {% if not current_user.is_authenticated %} - Create an account then set up as many different services as you need to.

      + Create an account then add as many different services as you need to.

      {% else %} - You can set up as many different services as you need to. + You can add as many different services as you need to. {% endif %}

      -

      When you set up a new service it will start in trial mode.

      +

      When you add a new service it will start in trial mode.

      Emails

      It’s free to send emails through Notify.

      Text messages

      -

      Every service you set up has an annual allowance of free text messages.

      +

      Every service you add has an annual allowance of free text messages.

      If your organisation has more than one service on Notify, they each have a separate allowance.

      The allowance is:

        From cb4bb9d4c4bd74a4bb5d852a0b7acda1f66f9a04 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 15:28:49 +0100 Subject: [PATCH 18/32] Change 'set up' to 'add' 'Add' matches the buttons users will see in Notify --- app/templates/views/features/text-messages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/features/text-messages.html b/app/templates/views/features/text-messages.html index a15f7e864..530e95305 100644 --- a/app/templates/views/features/text-messages.html +++ b/app/templates/views/features/text-messages.html @@ -31,7 +31,7 @@

        You can change the text message sender name from the default of ‘GOVUK’ in your service settings.

        Pricing

        -

        Each service you set up has a free annual allowance. After that it costs 1.58 pence (plus VAT) to send a text to a UK number.

        +

        Each service you add has a free annual allowance. After that it costs 1.58 pence (plus VAT) to send a text to a UK number.

        The free allowance is:

        • 250,000 free text messages for central government services
        • From 13f704993c4c1454300836a396fd6ee09fd25915 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 15:31:23 +0100 Subject: [PATCH 19/32] Change 'set up' to 'add' For consistency --- app/templates/views/get-started | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index b5c60ee7b..cfb5e6897 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -34,7 +34,7 @@ {% if not current_user.is_authenticated %}

          Create an account for free and add your first Notify service. When you set up a new service, it will start in trial mode.

          {% else %} -

          Create an account for free and add your first Notify service. When you set up a new service, it will start in trial mode.

          +

          Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

          {% endif %} From 9a097386a1e8103de162b4c915c56cdebfe23dfb Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 16:06:48 +0100 Subject: [PATCH 20/32] Change 'sign' to 'accept' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change 'sign' to 'accept' – because users can now accept online --- app/templates/views/trial-mode.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/trial-mode.html b/app/templates/views/trial-mode.html index 14ae9c790..8e112a73d 100644 --- a/app/templates/views/trial-mode.html +++ b/app/templates/views/trial-mode.html @@ -27,7 +27,7 @@

          Before you can request to go live, you must:

            -
          • sign our data sharing and financial agreement
          • +
          • accept our data sharing and financial agreement
          • accept our terms of use
          • set up your service so you’re ready to send and receive messages
          From 49163ef624539c96b1fe720dedd28ea112d933ce Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 16:16:42 +0100 Subject: [PATCH 21/32] Update content --- app/templates/views/get-started | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/views/get-started b/app/templates/views/get-started index cfb5e6897..aef23b34d 100644 --- a/app/templates/views/get-started +++ b/app/templates/views/get-started @@ -32,7 +32,7 @@
        • Create an account

          {% if not current_user.is_authenticated %} -

          Create an account for free and add your first Notify service. When you set up a new service, it will start in trial mode.

          +

          Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

          {% else %}

          Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

          {% endif %} @@ -51,10 +51,10 @@
        • Set up your service

          {% if not current_user.is_authenticated %} -

          Review your service settings to make sure your messages have the right branding.

          +

          Review your service settings to make sure you have the right branding and sender information.

          Add team members and check their permissions.

          {% else %} -

          Review your service settings to make sure you have the right branding.

          +

          Review your service settings to make sure you have the right branding and sender information.

          Add team members and check their permissions.

          {% endif %}
        • @@ -69,9 +69,9 @@
        • Start sending messages

          {% if not current_user.is_authenticated %} -

          You should request to go live when you’re ready to send messages to people outside your team. We’ll get back to you within one working day.

          +

          You should request to go live when you’re ready to send messages to people outside your team. We’ll process your request within one working day.

          {% else %} -

          You should request to go live when you’re ready to send messages to people outside your team. We’ll get back to you within one working day.

          +

          You should request to go live when you’re ready to send messages to people outside your team. We’ll process your request within one working day.

          {% endif %}

          Once your service is live, we’ll send you an invoice if you:

            From 54941464014a248cf527233a00125bf6f01550d3 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 17 Oct 2019 15:56:48 +0100 Subject: [PATCH 22/32] Add HTML extension to template file --- app/templates/views/{get-started => get-started.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/templates/views/{get-started => get-started.html} (100%) diff --git a/app/templates/views/get-started b/app/templates/views/get-started.html similarity index 100% rename from app/templates/views/get-started rename to app/templates/views/get-started.html From bc32315fbe4e32393b7436d93a8d13c959df2f57 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 17 Oct 2019 16:15:28 +0100 Subject: [PATCH 23/32] Add endpoint for new page --- app/main/views/index.py | 7 +++++++ app/navigation.py | 4 ++++ app/templates/views/get-started.html | 14 +++++++------- tests/app/main/views/test_index.py | 8 +++++++- 4 files changed, 25 insertions(+), 8 deletions(-) diff --git a/app/main/views/index.py b/app/main/views/index.py index bf5ed00b5..951244352 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -305,6 +305,13 @@ def message_status(): ) +@main.route('/features/get-started') +def get_started(): + return render_template( + 'views/get-started.html' + ) + + @main.route('/trial-mode') def trial_mode(): return redirect(url_for('.trial_mode_new'), 301) diff --git a/app/navigation.py b/app/navigation.py index 5cc6b833d..8138afab6 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -190,6 +190,7 @@ class HeaderNavigation(Navigation): 'forgot_password', 'get_example_csv', 'get_notifications_as_json', + 'get_started', 'go_to_dashboard_after_tour', 'inbound_sms_admin', 'inbox', @@ -504,6 +505,7 @@ class MainNavigation(Navigation): 'forgot_password', 'get_example_csv', 'get_notifications_as_json', + 'get_started', 'go_to_dashboard_after_tour', 'how_to_pay', 'inbound_sms_admin', @@ -728,6 +730,7 @@ class CaseworkNavigation(Navigation): 'forgot_password', 'get_example_csv', 'get_notifications_as_json', + 'get_started', 'go_to_dashboard_after_tour', 'how_to_pay', 'inbound_sms_admin', @@ -1015,6 +1018,7 @@ class OrgNavigation(Navigation): 'forgot_password', 'get_example_csv', 'get_notifications_as_json', + 'get_started', 'go_to_dashboard_after_tour', 'how_to_pay', 'inbound_sms_admin', diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index aef23b34d..0d4e4aeb4 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -28,16 +28,16 @@

            Notify is not currently available to charities.

            - +
          • Create an account

            {% if not current_user.is_authenticated %} -

            Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

            +

            Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

            {% else %}

            Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

            {% endif %}
          • - +
          • Write some messages

            Add message templates with examples of the content you plan to send. You do not need to add letter templates if you’re planning to upload your own letters.

            @@ -45,9 +45,9 @@ +
        • - +
        • Set up your service

          {% if not current_user.is_authenticated %} @@ -58,14 +58,14 @@

          Add team members and check their permissions.

          {% endif %}
        • - +
        • API integration (optional)

          Share our documentation with your developers to help them set up an API integration.

          You only need to do this if you’re using the API to send messages automatically, rather than signing in to Notify.

        • - +
        • Start sending messages

          {% if not current_user.is_authenticated %} diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 70156a878..d66a7fa6d 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -74,7 +74,7 @@ def test_robots(client): 'cookies', 'privacy', 'pricing', 'terms', 'roadmap', 'features', 'documentation', 'security', 'message_status', 'features_email', 'features_sms', - 'features_letters', 'how_to_pay', + 'features_letters', 'how_to_pay', 'get_started' ]) def test_static_pages( client_request, @@ -84,6 +84,12 @@ def test_static_pages( page = client_request.get('main.{}'.format(view)) assert not page.select_one('meta[name=description]') + client_request.logout() + with client_request.session_transaction() as session: + session['service_id'] = None + session['user_id'] = None + client_request.get('main.{}'.format(view)) + @pytest.mark.parametrize('view, expected_view', [ ('information_risk_management', 'security'), From b64336b5da7b8a947918ebfa4d308a39df658ba5 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 17 Oct 2019 16:23:21 +0100 Subject: [PATCH 24/32] Fix details/summary --- app/templates/views/get-started.html | 2 ++ app/templates/views/pricing/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index 0d4e4aeb4..d22331374 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -16,6 +16,7 @@

          Read about our features, pricing and roadmap.

          Organisations that can use Notify +

          Notify is available to:

          • central government departments
          • @@ -26,6 +27,7 @@
          • companies owned by local or central government that deliver services on their behalf

          Notify is not currently available to charities.

          +
        • diff --git a/app/templates/views/pricing/index.html b/app/templates/views/pricing/index.html index fb43e4191..176709188 100644 --- a/app/templates/views/pricing/index.html +++ b/app/templates/views/pricing/index.html @@ -118,7 +118,7 @@

          Letters

          The cost of sending a letter depends on the postage you choose and how many sheets of paper you need.

          - +
          {% call mapping_table( caption='Letter pricing', From dfa979cdffb733ad6797c272419287ac1d93fc75 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 17 Oct 2019 16:51:41 +0100 Subject: [PATCH 25/32] Change 'process' to 'approve' --- app/templates/views/get-started.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index d22331374..de44d4c45 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -71,9 +71,9 @@
        • Start sending messages

          {% if not current_user.is_authenticated %} -

          You should request to go live when you’re ready to send messages to people outside your team. We’ll process your request within one working day.

          +

          You should request to go live when you’re ready to send messages to people outside your team. We’ll approve your request within one working day.

          {% else %} -

          You should request to go live when you’re ready to send messages to people outside your team. We’ll process your request within one working day.

          +

          You should request to go live when you’re ready to send messages to people outside your team. We’ll approve your request within one working day.

          {% endif %}

          Once your service is live, we’ll send you an invoice if you:

            From a4e1b7439804de36e70730b952673757f8a4f1b8 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Fri, 18 Oct 2019 09:24:02 +0100 Subject: [PATCH 26/32] Update content --- app/templates/views/get-started.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index de44d4c45..386dd88c5 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -42,7 +42,7 @@
          • Write some messages

            -

            Add message templates with examples of the content you plan to send. You do not need to add letter templates if you’re planning to upload your own letters.

            +

            Add message templates with examples of the content you plan to send.

            The GOV.UK Service Manual has advice on:

            • how to write emails and text messages
            • @@ -75,11 +75,6 @@ {% else %}

              You should request to go live when you’re ready to send messages to people outside your team. We’ll approve your request within one working day.

              {% endif %} -

              Once your service is live, we’ll send you an invoice if you:

              - -

              See how to pay.

              +

              Check how to pay if you're planning to send letters or exceed the free text message allowance.

              {% endblock %} From b46716416ad40b6af78ce0c3b8b1c1ecb2f243e8 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Mon, 21 Oct 2019 08:16:43 +0100 Subject: [PATCH 27/32] Update settings content --- app/templates/views/get-started.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index 386dd88c5..4e069f549 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -53,10 +53,10 @@
            • Set up your service

              {% if not current_user.is_authenticated %} -

              Review your service settings to make sure you have the right branding and sender information.

              +

              Review your settings to make sure your messages have the right branding.

              Add team members and check their permissions.

              {% else %} -

              Review your service settings to make sure you have the right branding and sender information.

              +

              Review your settings to make sure your messages have the right branding.

              Add team members and check their permissions.

              {% endif %}
            • From 0b089bda327f7c8251048a966ea0b644831551d4 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 30 Oct 2019 10:49:05 +0000 Subject: [PATCH 28/32] Update settings content --- app/templates/views/get-started.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index 4e069f549..141fbafd5 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -53,10 +53,10 @@
            • Set up your service

              {% if not current_user.is_authenticated %} -

              Review your settings to make sure your messages have the right branding.

              +

              Review your settings to add message branding, reply-to addresses and sender information.

              Add team members and check their permissions.

              {% else %} -

              Review your settings to make sure your messages have the right branding.

              +

              Review your settings to add message branding, reply-to addresses and sender information.

              Add team members and check their permissions.

              {% endif %}
            • From fa72c35fcefeb077d8277c9c0d82bd29b1ce4db9 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 31 Oct 2019 08:40:25 +0000 Subject: [PATCH 29/32] Update app/templates/views/get-started.html Co-Authored-By: Chris Hill-Scott --- app/templates/views/get-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index 141fbafd5..d8d957695 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -52,7 +52,7 @@
            • Set up your service

              - {% if not current_user.is_authenticated %} + {% if not current_user.is_authenticated or not current_service %}

              Review your settings to add message branding, reply-to addresses and sender information.

              Add team members and check their permissions.

              {% else %} From 9b91132276e6c52cc827c5d5e0b947afb7e87cae Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 31 Oct 2019 09:43:16 +0000 Subject: [PATCH 30/32] Test that static pages work w/out current_service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If you sign in, don’t choose a service then navigate to a state page then it’s possible `current_service` won’t be set, in which case you shouldn’t be generating URLs that need `current_service.id`. --- tests/app/main/views/test_index.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index d66a7fa6d..0bb249db1 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -1,3 +1,4 @@ +from functools import partial import pytest from bs4 import BeautifulSoup from flask import url_for @@ -81,14 +82,23 @@ def test_static_pages( mock_get_organisation_by_domain, view, ): - page = client_request.get('main.{}'.format(view)) + request = partial(client_request.get, 'main.{}'.format(view)) + + # Check the page loads when user is signed in + page = request() assert not page.select_one('meta[name=description]') + # Check it still works when they don’t have a recent service + with client_request.session_transaction() as session: + session['service_id'] = None + request() + + # Check it still works when they sign out client_request.logout() with client_request.session_transaction() as session: session['service_id'] = None session['user_id'] = None - client_request.get('main.{}'.format(view)) + request() @pytest.mark.parametrize('view, expected_view', [ From d298949a5ab37864b1e89602381cd35c6db2cd51 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 31 Oct 2019 09:57:56 +0000 Subject: [PATCH 31/32] Style the page to look like the Pay one --- app/assets/stylesheets/main.scss | 1 + app/assets/stylesheets/views/get_started.scss | 32 +++++++++++++++++++ app/templates/views/get-started.html | 29 +++++++++-------- 3 files changed, 49 insertions(+), 13 deletions(-) create mode 100644 app/assets/stylesheets/views/get_started.scss diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index ceb233650..466b6c4a2 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -75,6 +75,7 @@ $path: '/static/images/'; @import 'views/template'; @import 'views/notification'; @import 'views/send'; +@import 'views/get_started'; // TODO: break this up @import 'app'; diff --git a/app/assets/stylesheets/views/get_started.scss b/app/assets/stylesheets/views/get_started.scss new file mode 100644 index 000000000..b46ae0115 --- /dev/null +++ b/app/assets/stylesheets/views/get_started.scss @@ -0,0 +1,32 @@ +.get-started-list { + + counter-reset: get-started-counter; + + &__item { + + counter-increment: get-started-counter; + padding: 0 0 0 $gutter + 5px; + margin: ($gutter * 1.67) 0 0 0; + position: relative; + + &:before { + @include bold-24; + content: counter(get-started-counter) "."; + position: absolute; + top: 5px; + left: 0; + } + + summary[aria-expanded=false] { + margin-bottom: 0; + } + + } + + &__heading { + @include bold-24; + display: inline-block; + margin: 5px 0 $gutter-half 0; + } + +} diff --git a/app/templates/views/get-started.html b/app/templates/views/get-started.html index d8d957695..cd8c5058c 100644 --- a/app/templates/views/get-started.html +++ b/app/templates/views/get-started.html @@ -10,9 +10,9 @@

              Get started

              -
                -
              1. -

                Check if GOV.UK Notify is right for you

                +
                  +
                1. +

                  Check if GOV.UK Notify is right for you

                  Read about our features, pricing and roadmap.

                  Organisations that can use Notify @@ -31,8 +31,8 @@
                2. -
                3. -

                  Create an account

                  +
                4. +

                  Create an account

                  {% if not current_user.is_authenticated %}

                  Create an account for free and add your first Notify service. When you add a new service, it will start in trial mode.

                  {% else %} @@ -40,8 +40,8 @@ {% endif %}
                5. -
                6. -

                  Write some messages

                  +
                7. +

                  Write some messages

                  Add message templates with examples of the content you plan to send.

                  The GOV.UK Service Manual has advice on:

                    @@ -50,8 +50,8 @@
                8. -
                9. -

                  Set up your service

                  +
                10. +

                  Set up your service

                  {% if not current_user.is_authenticated or not current_service %}

                  Review your settings to add message branding, reply-to addresses and sender information.

                  Add team members and check their permissions.

                  @@ -61,20 +61,23 @@ {% endif %}
                11. -
                12. -

                  API integration (optional)

                  +
                13. +

                  API integration (optional)

                  Share our documentation with your developers to help them set up an API integration.

                  You only need to do this if you’re using the API to send messages automatically, rather than signing in to Notify.

                14. -
                15. -

                  Start sending messages

                  +
                16. +

                  Start sending messages

                  {% if not current_user.is_authenticated %}

                  You should request to go live when you’re ready to send messages to people outside your team. We’ll approve your request within one working day.

                  {% else %}

                  You should request to go live when you’re ready to send messages to people outside your team. We’ll approve your request within one working day.

                  {% endif %}

                  Check how to pay if you're planning to send letters or exceed the free text message allowance.

                  +
                17. + +
                {% endblock %} From 239e3079d123d86096c04dce97e04d52b0c66764 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 31 Oct 2019 10:53:45 +0000 Subject: [PATCH 32/32] Fix import sort order --- tests/app/main/views/test_index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 0bb249db1..1a9e4ccf4 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -1,4 +1,5 @@ from functools import partial + import pytest from bs4 import BeautifulSoup from flask import url_for