From ff4ffead0d0d94751ea376471b1c22f779b15a89 Mon Sep 17 00:00:00 2001 From: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Tue, 25 Feb 2025 12:28:52 +0000 Subject: [PATCH 1/3] Add links to legal and policy documents to footer (#88) * This commit: - adds the cookies page as placeholder but not yet visible in footer - adds a link to the acceptable use policy to the footer - adds a link to the transparency notice to the footer - adds a link to the terms and conditions to the footer - new tab _blank added to /mesh * Added links to policy documents in /get-started * added _blank * opens in a new tab fix --- docs/_data/footer-navigation.yml | 16 ++++++++++++++-- .../{accessibilty => footer}/accessibility.md | 2 +- docs/pages/footer/cookies.md | 18 ++++++++++++++++++ docs/pages/get-started/get-started.md | 6 ++++++ .../(draft)editing-and-formatting.md | 2 ++ docs/pages/using-nhs-notify/mesh.md | 4 ++-- 6 files changed, 43 insertions(+), 5 deletions(-) rename docs/pages/{accessibilty => footer}/accessibility.md (93%) create mode 100644 docs/pages/footer/cookies.md diff --git a/docs/_data/footer-navigation.yml b/docs/_data/footer-navigation.yml index a2bd099..0452629 100644 --- a/docs/_data/footer-navigation.yml +++ b/docs/_data/footer-navigation.yml @@ -1,2 +1,14 @@ -# - title: Accessibility statement -# link: / +#- title: Accessibility statement +#link: /accessibility/ + +- title: Acceptable use policy + link: https://digital.nhs.uk/services/nhs-notify/acceptable-use-policy + +#- title: Cookies +#link: /cookies/ + +- title: Privacy + link: https://digital.nhs.uk/services/nhs-notify/transparency-notice + +- title: Terms and conditions + link: https://digital.nhs.uk/services/nhs-notify/terms-and-conditions diff --git a/docs/pages/accessibilty/accessibility.md b/docs/pages/footer/accessibility.md similarity index 93% rename from docs/pages/accessibilty/accessibility.md rename to docs/pages/footer/accessibility.md index 13ea1b1..613bb88 100644 --- a/docs/pages/accessibilty/accessibility.md +++ b/docs/pages/footer/accessibility.md @@ -2,7 +2,7 @@ # Feel free to add content and custom Front Matter to this file. # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults -layout: page +layout: no-nav-page title: Accessibility permalink: /accessibility/ --- diff --git a/docs/pages/footer/cookies.md b/docs/pages/footer/cookies.md new file mode 100644 index 0000000..0e61251 --- /dev/null +++ b/docs/pages/footer/cookies.md @@ -0,0 +1,18 @@ +--- +# Feel free to add content and custom Front Matter to this file. +# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults + +layout: no-nav-page +title: Cookies +permalink: /cookies/ +--- + +Cookies are small files saved on your phone, tablet or computer when you visit a website. + +We use an essential cookie to keep your data secure while you use NHS Notify. + +We do not need to ask permission to use essential cookies. + +| Name | Purpose | Expires | +| ----------- | ------------------------------ | -------- | +| cookie_name | Used to do something important | 24 hours | diff --git a/docs/pages/get-started/get-started.md b/docs/pages/get-started/get-started.md index 054cc55..0313124 100644 --- a/docs/pages/get-started/get-started.md +++ b/docs/pages/get-started/get-started.md @@ -21,6 +21,12 @@ You might want to learn more about: - [NHS Notify API (opens in a new tab)](https://digital.nhs.uk/developer/api-catalogue/nhs-notify){:target="\_blank"} - [NHS Notify MESH (opens in a new tab)](https://digital.nhs.uk/developer/api-catalogue/nhs-notify-mesh){:target="\_blank"} +You also may need to read our: + +- [terms and conditions (opens in a new tab)](https://digital.nhs.uk/services/nhs-notify/terms-and-conditions){:target="\_blank"} +- [acceptable use policy (opens in a new tab)](https://digital.nhs.uk/services/nhs-notify/acceptable-use-policy){:target="\_blank"} +- [privacy policy (opens in a new tab)](https://digital.nhs.uk/services/nhs-notify/transparency-notice){:target="\_blank"} + ## Get in touch to register your interest If you think NHS Notify is right for your organisation or service, you can get in touch with our engagement team via . diff --git a/docs/pages/using-nhs-notify/(draft)editing-and-formatting.md b/docs/pages/using-nhs-notify/(draft)editing-and-formatting.md index 7f9ce59..3cee636 100644 --- a/docs/pages/using-nhs-notify/(draft)editing-and-formatting.md +++ b/docs/pages/using-nhs-notify/(draft)editing-and-formatting.md @@ -117,3 +117,5 @@ To insert a page break in a letter template, use 3 asterisks. For example: {% include components/inset-text.html text='Content on page 1

***

Content on page 2' %} + +Test test test diff --git a/docs/pages/using-nhs-notify/mesh.md b/docs/pages/using-nhs-notify/mesh.md index 5ad4246..bab665d 100644 --- a/docs/pages/using-nhs-notify/mesh.md +++ b/docs/pages/using-nhs-notify/mesh.md @@ -10,7 +10,7 @@ permalink: /using-nhs-notify/mesh section: Accessing NHS Notify --- -NHS England organisations and services can use the [Message Exchange for Social Care and Health (MESH)](https://digital.nhs.uk/services/message-exchange-for-social-care-and-health-mesh) to send messages with NHS Notify. +NHS England organisations and services can use the [Message Exchange for Social Care and Health (MESH)](https://digital.nhs.uk/services/message-exchange-for-social-care-and-health-mesh){:target="_blank"} to send messages with NHS Notify. You should only use MESH to send messages if your organisation or service: @@ -18,6 +18,6 @@ You should only use MESH to send messages if your organisation or service: - only needs to send batches of messages to specific groups of recipients - does not need advanced features offered by NHS Notify API -[Read our MESH documentation (opens in a new tab)](https://digital.nhs.uk/developer/api-catalogue/nhs-notify-mesh). +[Read our MESH documentation (opens in a new tab)](https://digital.nhs.uk/developer/api-catalogue/nhs-notify-mesh){:target="_blank"}. Check if MESH is right for you by contacting our engagement team at . From e642f7ad0b9027341578bada76ae8825ef191aac Mon Sep 17 00:00:00 2001 From: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Wed, 26 Feb 2025 16:58:48 +0000 Subject: [PATCH 2/3] Cookies policy (#89) * table changes * cookies purpose edits * adds cookies to footer * Accessibility fixes: - footer unordered list fix - section headers added as list items instead of paragraphs --- docs/_data/footer-navigation.yml | 4 ++-- docs/_includes/footer.html | 7 ++++--- docs/_layouts/page.html | 2 +- docs/pages/footer/cookies.md | 15 +++++++++++---- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/_data/footer-navigation.yml b/docs/_data/footer-navigation.yml index 0452629..30e3cc2 100644 --- a/docs/_data/footer-navigation.yml +++ b/docs/_data/footer-navigation.yml @@ -4,8 +4,8 @@ - title: Acceptable use policy link: https://digital.nhs.uk/services/nhs-notify/acceptable-use-policy -#- title: Cookies -#link: /cookies/ +- title: Cookies + link: /cookies/ - title: Privacy link: https://digital.nhs.uk/services/nhs-notify/transparency-notice diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index eb6ba5e..2f151ff 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -9,9 +9,10 @@

Support links

{{ item.title }} {% endfor %} -
- -
+ +
+ +
diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html index 4cad059..28db944 100644 --- a/docs/_layouts/page.html +++ b/docs/_layouts/page.html @@ -29,7 +29,7 @@
    {% for section in first_level %} {% if section.name != "" %} -

    {{ section.name }}

    +
  • {{ section.name }}
  • {% endif %} {% assign sorted = section.items | sort: 'nav_order' %} {% for post in sorted %} diff --git a/docs/pages/footer/cookies.md b/docs/pages/footer/cookies.md index 0e61251..6275ca1 100644 --- a/docs/pages/footer/cookies.md +++ b/docs/pages/footer/cookies.md @@ -9,10 +9,17 @@ permalink: /cookies/ Cookies are small files saved on your phone, tablet or computer when you visit a website. -We use an essential cookie to keep your data secure while you use NHS Notify. +## Essential cookies + +We use essential cookies to keep your data secure while you use NHS Notify. We do not need to ask permission to use essential cookies. -| Name | Purpose | Expires | -| ----------- | ------------------------------ | -------- | -| cookie_name | Used to do something important | 24 hours | +| Name | Purpose | Expires | +| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | +| csrf_token | Helps keep the site secure by preventing cross-site request forgery (CSRF) attacks. | When your session has ended | +| CognitoIdentityServiceProvider.accessToken | A cookie used for authentication. This lets us know that you've started a session in our interface and keeps it open for an hour. | 1 year | +| CognitoIdentityServiceProvider.clockDrift | A cookie used for authentication. This cookie tracks the time difference between your local clock and a remote clock to keep your session active. | 1 year | +| CognitoIdentityServiceProvider.oauthMetadata | A cookie used for authentication. This records the type of authentication you used to sign in to help when signing you out. | 1 year | +| CognitoIdentityServiceProvider.refreshToken | A cookie used for authentication. This periodically refreshes your session to the maximum time. | 1 year | +| CognitoIdentityServiceProvider.LastAuthUser | A cookie used for authentication. This records the user ID of the last authenticated user on a device and identifies any corresponding cookies to that user ID. | 1 year | From b1d85ccc25fb689b2f2297cf24992dcf9fd80e04 Mon Sep 17 00:00:00 2001 From: emmagifford <162720670+emmagifford@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:51:53 +0000 Subject: [PATCH 3/3] International text messages (#91) --- README.md | 2 +- docs/pages/features/text-messages.md | 1 + docs/pages/pricing/text-messages.md | 239 +++++++++++++++++++++++++++ 3 files changed, 241 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a1f823..f4b36f3 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ To do this, click the Run and Debug button, and then click the "Play" icon. Alte ![alt text](assets/img/image-6.png) -- click the green "Play" button to the left of where it says `Attatch (NHS Notify` +- click the green "Play" button to the left of where it says `Attach (NHS Notify` ![alt text](assets/img/image-7.png) diff --git a/docs/pages/features/text-messages.md b/docs/pages/features/text-messages.md index 8dade45..a01ea8e 100644 --- a/docs/pages/features/text-messages.md +++ b/docs/pages/features/text-messages.md @@ -25,3 +25,4 @@ You might want to understand more about: - [text message pricing]({% link pages/pricing/text-messages.md %}) - [delivery times for text messages]({% link pages/using-nhs-notify/delivery-times.md %}) - [how to tell audiences who your text messages are from]({% link pages/using-nhs-notify/tell-recipients-who-your-messages-are-from.md %}) +- [sending text messages to international numbers]({% link pages/pricing/text-messages.md %}#sending-text-messages-to-international-numbers) diff --git a/docs/pages/pricing/text-messages.md b/docs/pages/pricing/text-messages.md index 442b66b..8d7f8ca 100644 --- a/docs/pages/pricing/text-messages.md +++ b/docs/pages/pricing/text-messages.md @@ -51,3 +51,242 @@ Using other accented characters can increase the cost of sending text messages. | Up to 201 accented characters | 3 text messages | | Up to 268 accented characters | 4 text messages | | Every additional 67 accented characters | 1 additional text message | + +## Sending text messages to international numbers + +It might cost more to send text messages to international numbers than UK ones. + +The cost of each text message you send will be multiplied by a certain amount, depending on the country. + +We will not separate out the pricing for any international text messages in your billing information. It will be included in your overall costs for text messages. + +{% include components/details.html +heading='International text message pricing' +text=' + +| Country code | Country | Cost multiplier | +| ------------ | ------------------------------------------------------------- | --------------- | +| +1 | Canada
    United States
    Dominican Republic | 1 × | +| +1242 | Bahamas | 2 × | +| +1246 | Barbados | 3 × | +| +1264 | Anguilla | 3 × | +| +1268 | Antigua and Barbuda | 3 × | +| +1284 | Virgin Islands, British | 3 × | +| +1345 | Cayman Islands | 3 × | +| +1441 | Bermuda | 3 × | +| +1473 | Grenada | 3 × | +| +1649 | Turks and Caicos Islands | 3 × | +| +1664 | Montserrat | 3 × | +| +1684 | American Samoa | 3 × | +| +1721 | Sint Maarten | 1 × | +| +1758 | Saint Lucia | 3 × | +| +1767 | Dominica, Commonwealth of | 3 × | +| +1784 | Saint Vincent and The Grenadines | 3 × | +| +1868 | Trinidad and Tobago | 3 × | +| +1869 | Saint Kitts and Nevis | 3 × | +| +1876 | Jamaica | 3 × | +| +20 | Egypt | 3 × | +| +211 | South Sudan | 2 × | +| +212 | Morocco | 2 × | +| +213 | Algeria | 2 × | +| +216 | Tunisia | 2 × | +| +218 | Libya | 2 × | +| +220 | Gambia | 2 × | +| +221 | Senegal | 2 × | +| +222 | Mauritania | 2 × | +| +223 | Mali | 2 × | +| +224 | Guinea | 3 × | +| +225 | Cote d’Ivoire | 2 × | +| +226 | Burkina Faso | 3 × | +| +227 | Niger | 3 × | +| +228 | Togo | 2 × | +| +229 | Benin | 3 × | +| +230 | Mauritius | 2 × | +| +231 | Liberia | 2 × | +| +232 | Sierra Leone | 2 × | +| +233 | Ghana | 2 × | +| +234 | Nigeria | 4 × | +| +235 | Chad | 3 × | +| +236 | Central African Republic | 3 × | +| +237 | Cameroon | 2 × | +| +238 | Cape Verde | 3 × | +| +239 | Sao Tome and Principe | 2 × | +| +240 | Equatorial Guinea | 2 × | +| +241 | Gabon | 2 × | +| +242 | Congo | 3 × | +| +243 | Congo, Democratic Republic of | 3 × | +| +244 | Angola | 3 × | +| +245 | Guinea-Bissau | 3 × | +| +246 | British Indian Ocean Territory | 2 × | +| +248 | Seychelles | 2 × | +| +249 | Sudan | 2 × | +| +250 | Rwanda, Republic of | 2 × | +| +251 | Ethiopia | 2 × | +| +252 | Somalia | 2 × | +| +253 | Djibouti, Republic of | 2 × | +| +254 | Kenya | 1 × | +| +255 | Tanzania | 1 × | +| +256 | Uganda | 2 × | +| +257 | Burundi | 3 × | +| +258 | Mozambique | 2 × | +| +260 | Zambia | 2 × | +| +261 | Madagascar | 2 × | +| +262 | Reunion | 2 × | +| +263 | Zimbabwe | 1 × | +| +264 | Namibia | 2 × | +| +265 | Malawi | 2 × | +| +266 | Lesotho | 2 × | +| +267 | Botswana | 2 × | +| +268 | Eswatini | 2 × | +| +269 | Comoros | 2 × | +| +27 | South Africa | 2 × | +| +291 | Eritrea | 4 × | +| +297 | Aruba | 3 × | +| +298 | Faroe Islands | 2 × | +| +299 | Greenland | 2 × | +| +30 | Greece | 2 × | +| +31 | Netherlands | 3 × | +| +32 | Belgium | 3 × | +| +33 | France | 2 × | +| +34 | Spain | 2 × | +| +350 | Gibraltar | 2 × | +| +351 | Portugal | 2 × | +| +352 | Luxembourg | 2 × | +| +353 | Ireland | 3 × | +| +354 | Iceland | 2 × | +| +355 | Albania | 2 × | +| +356 | Malta | 2 × | +| +357 | Cyprus | 2 × | +| +358 | Finland | 3 × | +| +359 | Bulgaria | 4 × | +| +36 | Hungary | 3 × | +| +370 | Lithuania | 2 × | +| +371 | Latvia | 2 × | +| +372 | Estonia | 2 × | +| +373 | Moldova | 3 × | +| +374 | Armenia | 3 × | +| +375 | Belarus | 1 × | +| +376 | Andorra | 2 × | +| +377 | Monaco | 2 × | +| +378 | San Marino, Republic of | 3 × | +| +380 | Ukraine | 4 × | +| +381 | Serbia | 1 × | +| +382 | Montenegro | 2 × | +| +383 | Kosovo | 4 × | +| +385 | Croatia | 2 × | +| +386 | Slovenia | 2 × | +| +387 | Bosnia and Herzegovina | 2 × | +| +389 | Macedonia | 1 × | +| +39 | Italy | 2 × | +| +40 | Romania | 2 × | +| +41 | Switzerland | 2 × | +| +420 | Czech Republic | 4 × | +| +421 | Slovakia | 2 × | +| +423 | Liechtenstein | 1 × | +| +43 | Austria | 3 × | +| +44 | Guernsey
    Isle of Man
    Jersey | 1 × | +| +45 | Denmark | 2 × | +| +46 | Sweden | 2 × | +| +47 | Norway | 3 × | +| +48 | Poland | 2 × | +| +49 | Germany | 4 × | +| +500 | Falkland Islands | 2 × | +| +501 | Belize | 3 × | +| +502 | Guatemala | 3 × | +| +503 | El Salvador | 2 × | +| +504 | Honduras | 2 × | +| +505 | Nicaragua | 3 × | +| +506 | Costa Rica | 2 × | +| +507 | Panama | 2 × | +| +508 | Saint Pierre and Miquelon | 2 × | +| +509 | Haiti | 3 × | +| +51 | Peru | 2 × | +| +52 | Mexico | 2 × | +| +53 | Cuba | 2 × | +| +54 | Argentina | 3 × | +| +55 | Brazil | 2 × | +| +56 | Chile | 1 × | +| +57 | Colombia | 1 × | +| +58 | Venezuela | 2 × | +| +590 | Guadeloupe | 2 × | +| +591 | Bolivia | 3 × | +| +592 | Guyana | 2 × | +| +593 | Ecuador | 1 × | +| +594 | French Guiana | 2 × | +| +595 | Paraguay | 2 × | +| +596 | Martinique | 2 × | +| +597 | Suriname | 4 × | +| +598 | Uruguay | 1 × | +| +599 | Curacao (former Netherlands Antilles) | 3 × | +| +60 | Malaysia | 1 × | +| +61 | Australia | 2 × | +| +62 | Indonesia | 2 × | +| +63 | Philippines | 1 × | +| +64 | New Zealand | 3 × | +| +65 | Singapore | 1 × | +| +66 | Thailand | 2 × | +| +670 | Timor L’este | 2 × | +| +672 | Norfolk Island | 3 × | +| +673 | Brunei Darussalam | 1 × | +| +674 | Nauru | 2 × | +| +675 | Papua New Guinea | 2 × | +| +676 | Tonga | 2 × | +| +677 | Solomon Islands | 1 × | +| +678 | Vanuatu | 2 × | +| +679 | Fiji | 2 × | +| +680 | Palau | 3 × | +| +681 | Wallis and Futuna | 4 × | +| +682 | Cook Islands | 3 × | +| +683 | Niue | 4 × | +| +685 | Samoa | 3 × | +| +686 | Kiribati | 4 × | +| +687 | New Caledonia | 3 × | +| +689 | French Polynesia | 2 × | +| +690 | Tokelau | 4 × | +| +691 | Micronesia, Federated States of | 2 × | +| +692 | Marshall Islands | 1 × | +| +7 | South Ossetia
    Kazakhstan
    Abkhazia
    Russian Federation | 4 × | +| +81 | Japan | 3 × | +| +82 | Korea, Republic of | 2 × | +| +84 | Vietnam | 2 × | +| +852 | Hong Kong | 3 × | +| +853 | Macau | 1 × | +| +855 | Cambodia | 3 × | +| +856 | Laos | 2 × | +| +86 | China | 2 × | +| +880 | Bangladesh | 3 × | +| +886 | Taiwan | 2 × | +| +90 | Turkey
    Northern Cyprus | 2 × | +| +91 | India | 3 × | +| +92 | Pakistan | 2 × | +| +93 | Afghanistan | 3 × | +| +94 | Sri Lanka | 2 × | +| +95 | Myanmar | 2 × | +| +960 | Maldives | 2 × | +| +961 | Lebanon | 2 × | +| +962 | Jordan | 2 × | +| +963 | Syria | 3 × | +| +964 | Iraq | 2 × | +| +965 | Kuwait | 2 × | +| +966 | Saudi Arabia | 2 × | +| +967 | Yemen | 2 × | +| +968 | Oman | 1 × | +| +970 | Palestinian Territory | 4 × | +| +971 | United Arab Emirates | 2 × | +| +972 | Israel | 3 × | +| +973 | Bahrain | 3 × | +| +974 | Qatar | 1 × | +| +975 | Bhutan | 2 × | +| +976 | Mongolia | 2 × | +| +977 | Nepal | 2 × | +| +98 | Iran | 2 × | +| +992 | Tajikistan | 2 × | +| +993 | Turkmenistan | 2 × | +| +994 | Azerbaijan | 2 × | +| +995 | Georgia | 2 × | +| +996 | Kyrgyzstan | 2 × | +| +998 | Uzbekistan | 2 × | +| +882 | Worldwide | Not supported | + +' +%}