Merge pull request #3690 from alphagov/set-message-limit

Remove the `upload_letters` permission
This commit is contained in:
Chris Hill-Scott
2020-10-23 12:27:28 +01:00
committed by GitHub
6 changed files with 3 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
caption="Recent files uploaded",
caption_visible=False,
empty_message=(
'Upload a letter and Notify will print, pack and post it for you.' if current_service.can_upload_letters else 'You have not uploaded any files yet'
'Upload a letter and Notify will print, pack and post it for you.' if current_service.has_permission('letter') else 'You have not uploaded any files yet.'
),
field_headings=[
'File',