Add a filter to format notification status to a readible label.

This commit is contained in:
Rebecca Law
2016-05-18 09:54:50 +01:00
parent 97b268182b
commit 37327dfbb0
2 changed files with 13 additions and 1 deletions

View File

@@ -27,7 +27,7 @@
align='right',
status='error' if item.status == 'Failed' else 'default'
) %}
{{ item.status|title }} at {{ item.updated_at|format_time }}
{{ item.status|format_notification_status }} at {{ item.updated_at|format_time }}
{% endcall %}
{% endcall %}
</div>