From 895713f7a977c724e44b92b1b7c1d34ded066d05 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 21 Feb 2019 10:51:01 +0000 Subject: [PATCH 1/2] Updated default letter template name To keep the H1/titles of new templates consistent with the sticky menu options. Updated default letter template name from `Untitled` to `New letter template` --- app/main/views/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/templates.py b/app/main/views/templates.py index 3d72eb131..b981a0395 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -294,7 +294,7 @@ def _add_template_by_type(template_type, template_folder_id): if template_type == 'letter': blank_letter = service_api_client.create_service_template( - 'Untitled', + 'New letter template', 'letter', 'Body', current_service.id, From 66048034c1db58f23b6366af10279ba6c1cde40d Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Thu, 21 Feb 2019 12:02:21 +0000 Subject: [PATCH 2/2] Change `Add` to `New` Change `Add` to `New` for template H1 --- app/main/views/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/templates.py b/app/main/views/templates.py index b981a0395..1c7807c15 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -558,7 +558,7 @@ def add_service_template(service_id, template_type, template_folder_id=None): 'views/edit-{}-template.html'.format(template_type), form=form, template_type=template_type, - heading_action='Add', + heading_action='New', )