Merge pull request #3545 from alphagov/notify-tags

add err msgs for letters with notify tags on pages 2+
This commit is contained in:
Leo Hemsted
2020-08-03 13:26:13 +01:00
committed by GitHub

View File

@@ -744,6 +744,17 @@ LETTER_VALIDATION_MESSAGES = {
"following characters: @ ( ) = [ ] ” \\ / ,"
),
},
'notify-tag-found-in-content': {
'title': 'Theres a problem with your letter',
'detail': (
'Your file includes a letter youve downloaded from Notify.<br>'
'You need to edit {invalid_pages}.'
),
'summary': (
'Validation failed because your file includes a letter '
'youve downloaded from Notify on {invalid_pages}.'
)
},
}