Files
notifications-admin/app/templates/partials/notifications/status.html
Chris Hill-Scott b578c3589b Put status under message
Since we’ve removed the table of notifications from the single
notification page there’s no way of knowing the status of a
notification.

This re-adds it in a way that’s similar to how it looks on inbound
messages.
2017-06-21 15:15:13 +01:00

14 lines
512 B
HTML

<div class="ajax-block-container">
<p class="notification-status {{ notification.status|format_notification_status_as_field_status }}">
{% if notification.status|format_notification_status_as_url %}
<a href="{{ notification.status|format_notification_status_as_url }}">
{% endif %}
{{ notification.status|format_notification_status(
notification.template.template_type
) }}
{% if notification.status|format_notification_status_as_url %}
</a>
{% endif %}
</p>
</div>