Show users more detailed validation failed mesage on notification page

Show valdiation failed messages on letter notifications in red text,
not in the banner like we do on Uploads and Validation checker pages.
This is because it is a different step in the journey: the user
has already sent the notification and styling needs to be in line
with other places where user is checking the notification she already
has sent.
This commit is contained in:
Pea Tyczynska
2019-10-30 11:28:38 +00:00
parent f12dc823cb
commit 678e0bed81
6 changed files with 68 additions and 50 deletions

View File

@@ -557,7 +557,7 @@ LETTER_VALIDATION_MESSAGES = {
},
'content-outside-printable-area': {
'title': 'We cannot print your letter',
'detail': 'The content appears outside the printable area on {invalid_pages} <br>'
'detail': 'The content appears outside the printable area on {invalid_pages}.<br>'
'Files must meet our <a href="https://docs.notifications.service.gov.uk/documentation/images/'
'notify-pdf-letter-spec-v2.4.pdf" target="_blank">letter specification</a>.'
},