@@ -224,18 +224,20 @@ const previewEmailTemplate = {
224224 backLinkText : backToAllTemplates ,
225225} ;
226226
227+ const previewLetterFooter : Partial < Record < TemplateStatus , string [ ] > > = {
228+ WAITING_FOR_PROOF : [
229+ 'It can take 5 to 10 working days to get a proof of your template.' ,
230+ 'If you still have not received your proof after this time, contact NHS Notify.' ,
231+ ] ,
232+ } ;
233+
227234const previewLetterTemplate = {
228235 pageTitle : generatePageTitle ( 'Preview letter template' ) ,
229236 backLinkText : backToAllTemplates ,
230237 submitText : 'Submit template' ,
231238 requestProofText : 'Request a proof' ,
232239 errorHeading : 'There is a problem' ,
233- footer : {
234- WAITING_FOR_PROOF : [
235- 'It can take 5 to 10 working days to get a proof of your template.' ,
236- 'If you still have not received your proof after this time, contact NHS Notify.' ,
237- ] ,
238- } as Partial < Record < TemplateStatus , string [ ] > > ,
240+ footer : previewLetterFooter ,
239241 virusScanError : 'The file(s) you uploaded may contain a virus.' ,
240242 virusScanErrorAction :
241243 'Create a new letter template to upload your file(s) again or upload different file(s).' ,
0 commit comments