Don’t change colour of sent date for letters

For text messages/emails it makes sense for ‘sending’ to be gray and
‘delivered’ to be black. But since we don’t show sending/delivered for
letters it doesn’t make sense for the text to change colour.
This commit is contained in:
Chris Hill-Scott
2018-03-06 13:51:50 +00:00
parent 92b4cee033
commit d90cdc1f81
3 changed files with 30 additions and 12 deletions

View File

@@ -130,7 +130,10 @@
{% if not notification %}
{% call field(align='right') %}{% endcall %}
{% else %}
{% call field(status=notification.status|format_notification_status_as_field_status, align='right') %}
{% call field(
status=notification.status|format_notification_status_as_field_status(notification.notification_type),
align='right'
) %}
{% if notification.status in ['created', 'sending', 'delivered'] %}<span class="align-with-message-body">{% endif %}
{% if notification.status|format_notification_status_as_url %}
<a href="{{ notification.status|format_notification_status_as_url }}">