Merge pull request #1333 from alphagov/fix-empty-table-message

Fix empty table message
This commit is contained in:
Chris Hill-Scott
2017-06-23 13:45:34 +01:00
committed by GitHub
3 changed files with 23 additions and 3 deletions

View File

@@ -386,7 +386,7 @@ def get_job_partials(job):
def add_preview_of_content_to_notifications(notifications):
return (
return [
dict(
preview_of_content=(
str(Template(notification['template'], notification['personalisation']))
@@ -396,4 +396,4 @@ def add_preview_of_content_to_notifications(notifications):
**notification
)
for notification in notifications
)
]