mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #2796 from alphagov/update-new-template-titles
To keep the H1 titles of new templates consistent with the sticky menu options: * change `Add email template` to `New email template` * change `Add text message template` to `New text message template` * change default letter template name `Untitled` to `New letter template`
This commit is contained in:
@@ -294,7 +294,7 @@ def _add_template_by_type(template_type, template_folder_id):
|
|||||||
|
|
||||||
if template_type == 'letter':
|
if template_type == 'letter':
|
||||||
blank_letter = service_api_client.create_service_template(
|
blank_letter = service_api_client.create_service_template(
|
||||||
'Untitled',
|
'New letter template',
|
||||||
'letter',
|
'letter',
|
||||||
'Body',
|
'Body',
|
||||||
current_service.id,
|
current_service.id,
|
||||||
@@ -558,7 +558,7 @@ def add_service_template(service_id, template_type, template_folder_id=None):
|
|||||||
'views/edit-{}-template.html'.format(template_type),
|
'views/edit-{}-template.html'.format(template_type),
|
||||||
form=form,
|
form=form,
|
||||||
template_type=template_type,
|
template_type=template_type,
|
||||||
heading_action='Add',
|
heading_action='New',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user