Addressing most of the low-lift items from the Notify content audit (#491)

This commit is contained in:
Jonathan Bobel
2023-05-08 10:49:30 -04:00
committed by GitHub
parent 8f76a9bb17
commit 68e94dd650
32 changed files with 441 additions and 231 deletions

View File

@@ -35,7 +35,7 @@ def _create_example_template(service_id):
example_sms_template = service_api_client.create_service_template(
'Example text message template',
'sms',
'Hi, Im trying out U.S. Notify. Today is ((day of week)) and my favourite color is ((color)).',
'Hi, Im trying out U.S. Notify. Today is ((day of week)) and my favorite color is ((color)).',
service_id,
)
return example_sms_template

View File

@@ -66,7 +66,7 @@ def sign_in():
flash(Markup(
(
f"The email address or password you entered is incorrect."
f"&ensp;<a href={password_reset_url} class='govuk-link'>Forgotten your password?</a>"
f"&ensp;<a href={password_reset_url} class='govuk-link'>Forgot your password?</a>"
)
))

View File

@@ -4,10 +4,10 @@ def features_nav():
"name": "Features",
"link": "main.features",
"sub_navigation_items": [
{
"name": "Emails",
"link": "main.features_email",
},
# {
# "name": "Emails",
# "link": "main.features_email",
# },
{
"name": "Text messages",
"link": "main.features_sms",
@@ -50,23 +50,23 @@ def using_notify_nav():
{
"name": "Guidance",
"link": "main.guidance_index",
"sub_navigation_items": [
{
"name": "Formatting",
"link": "main.edit_and_format_messages",
},
# {
# "name": "Branding",
# "link": "main.branding_and_customisation",
# },
# {
# "name": "Send files by email",
# "link": "main.send_files_by_email",
# },
]
# "sub_navigation_items": [
# {
# "name": "Formatting",
# "link": "main.edit_and_format_messages",
# },
# {
# "name": "Branding",
# "link": "main.branding_and_customisation",
# },
# {
# "name": "Send files by email",
# "link": "main.send_files_by_email",
# },
# ]
# {
# "name": "API documentation",
# "link": "main.documentation",
# },
},
# {
# "name": "API documentation",
# "link": "main.documentation",
# },
]