mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
add err msgs for letters with notify tags on pages 2+
This commit is contained in:
11
app/utils.py
11
app/utils.py
@@ -744,6 +744,17 @@ LETTER_VALIDATION_MESSAGES = {
|
|||||||
"following characters: @ ( ) = [ ] ” \\ / ,"
|
"following characters: @ ( ) = [ ] ” \\ / ,"
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
'notify-tag-found-in-content': {
|
||||||
|
'title': 'There’s a problem with your letter',
|
||||||
|
'detail': (
|
||||||
|
'Your file includes a letter you’ve downloaded from Notify.<br>'
|
||||||
|
'You need to edit {invalid_pages}.'
|
||||||
|
),
|
||||||
|
'summary': (
|
||||||
|
'Validation failed because your file includes a letter '
|
||||||
|
'you’ve downloaded from Notify on {invalid_pages}.'
|
||||||
|
)
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user