Skip to content

Commit 69a001e

Browse files
CCM-9495: Update letter submit page wordng
1 parent b619d8e commit 69a001e

File tree

5 files changed

+22
-15
lines changed

5 files changed

+22
-15
lines changed

frontend/src/__tests__/app/create-and-submit-templates/__snapshots__/page.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ exports[`matches the snapshot 1`] = `
4949
Before you start
5050
</h2>
5151
<p>
52-
Only use this tool if your message content has been signed off by the relevant stakeholders in your team.
52+
Only use this tool if your message content has been approved by the relevant stakeholders in your team.
5353
</p>
5454
<p>
5555
You can save a template as a draft and edit it later.

frontend/src/__tests__/components/forms/SubmitTemplate/__snapshots__/SubmitDigitalTemplate.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exports[`SubmitDigitalTemplate component should render 1`] = `
4747
</p>
4848
<ul>
4949
<li>
50-
is signed off by the relevant stakeholders in your team
50+
is approved by the relevant stakeholders in your team
5151
</li>
5252
<li>
5353
does not have any spelling errors

frontend/src/__tests__/components/forms/SubmitTemplate/__snapshots__/SubmitLetterTemplate.test.tsx.snap

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports[`SubmitLetterTemplate component should render 1`] = `
2626
</p>
2727
<ul>
2828
<li>
29-
is signed off by the relevant stakeholders in your team
29+
is approved by the relevant stakeholders in your team
3030
</li>
3131
<li>
3232
does not have any spelling errors
@@ -35,9 +35,6 @@ exports[`SubmitLetterTemplate component should render 1`] = `
3535
is formatted correctly
3636
</li>
3737
</ul>
38-
<p>
39-
If you need to make further changes to this template, go back and upload an updated or different letter
40-
</p>
4138
<h2
4239
class="nhsuk-heading-s"
4340
>
@@ -67,8 +64,16 @@ exports[`SubmitLetterTemplate component should render 1`] = `
6764
</span>
6865
</h2>
6966
<p>
70-
When you submit this template you will not be able to make further changes. If you still need to change this template after it's submitted, replace it with a new template.
67+
If you need to change this template after you've submitted it:
7168
</p>
69+
<ul>
70+
<li>
71+
go back and upload a new letter template
72+
</li>
73+
<li>
74+
tell your onboarding manager which template you want to use
75+
</li>
76+
</ul>
7277
</div>
7378
<form
7479
action="/action"

frontend/src/components/forms/SubmitTemplate/SubmitLetterTemplate.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
1919
const {
2020
pageHeading,
2121
warningCalloutLabel,
22-
warningCalloutText,
22+
warningCalloutChecklistIntroduction,
23+
warningCalloutChecklistItems,
2324
submitChecklistHeading,
2425
submitChecklistIntroduction,
2526
submitChecklistItems,
26-
submitChecklistParagraphs,
2727
goBackButtonText,
2828
buttonText,
2929
afterSubmissionHeading,
@@ -46,9 +46,6 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
4646
<li key={`submit-list-${item.slice(0, 5)}`}>{item}</li>
4747
))}
4848
</ul>
49-
{submitChecklistParagraphs.map((item) => (
50-
<p key={`submit-paragraph-${item.slice(0, 5)}`}>{item}</p>
51-
))}
5249
<h2 className='nhsuk-heading-s'>{afterSubmissionHeading}</h2>
5350
{afterSubmissionText.map((item) => (
5451
<p key={`after-submission-paragraph-${item.slice(0, 5)}`}>{item}</p>
@@ -57,7 +54,12 @@ export const SubmitLetterTemplate: FC<SubmitTemplatePageComponentProps> = ({
5754
<WarningCallout.Label headingLevel='h2'>
5855
{warningCalloutLabel}
5956
</WarningCallout.Label>
60-
<p>{warningCalloutText}</p>
57+
<p>{warningCalloutChecklistIntroduction}</p>
58+
<ul>
59+
{warningCalloutChecklistItems.map((item) => (
60+
<li key={`warning-callout-list-${item.slice(0, 5)}`}>{item}</li>
61+
))}
62+
</ul>
6163
</WarningCallout>
6264
<NHSNotifyFormWrapper formId='submit-template-form' action={action}>
6365
<input

frontend/src/content/content.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const homePage = {
193193
'When you submit a template, it will be used by NHS Notify to set up the messages you want to send.',
194194
pageSubHeading: 'Before you start',
195195
text4:
196-
'Only use this tool if your message content has been signed off by the relevant stakeholders in your team.',
196+
'Only use this tool if your message content has been approved by the relevant stakeholders in your team.',
197197
text5: 'You can save a template as a draft and edit it later.',
198198
text6:
199199
'If you want to change a submitted template, you must create a new template to replace it.',
@@ -327,7 +327,7 @@ const submitTemplate = {
327327
submitChecklistHeading: 'Before you submit',
328328
submitChecklistIntroduction: 'You should check that your template:',
329329
submitChecklistItems: [
330-
'is signed off by the relevant stakeholders in your team',
330+
'is approved by the relevant stakeholders in your team',
331331
'does not have any spelling errors',
332332
'is formatted correctly',
333333
],

0 commit comments

Comments
 (0)