Don’t talk about letters if the user can’t send them

This commit is contained in:
Chris Hill-Scott
2020-10-23 10:57:19 +01:00
committed by GitHub
parent f549168b5e
commit 7424cb37a3

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.'
'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',