Show delivery time even for failed notifications

We reckon it’s probably still useful.
This commit is contained in:
Chris Hill-Scott
2016-09-09 15:36:07 +01:00
parent 2d7ed4d34f
commit 17d5af1a6e
4 changed files with 27 additions and 12 deletions

View File

@@ -75,13 +75,18 @@
{% if item.status|format_notification_status_as_url %}
<a href="{{ item.status|format_notification_status_as_url }}">
{% endif %}
{{ item.status|format_notification_status_with_time(
item.template.template_type,
(item.updated_at or item.created_at)|format_datetime_short
{{ item.status|format_notification_status(
item.template.template_type
) }}
{% if item.status|format_notification_status_as_url %}
</a>
<br>
{% endif %}
<span class="status-hint">
{{ item.status|format_notification_status_as_time(
(item.updated_at or item.created_at)|format_datetime_short
) }}
</span>
{% endcall %}
{% endcall %}