diff --git a/app/__init__.py b/app/__init__.py index 2ba2716d6..2f92b027a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -479,7 +479,10 @@ def format_notification_status_as_field_status(status, notification_type): 'virus-scan-failed': 'error', 'returned-letter': None, 'cancelled': 'error', - } + }, + 'sms': { + 'sent': 'sent-international' + }, }.get( notification_type, { diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index 86aff3824..20c4e1ea7 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -225,6 +225,16 @@ } + &-sent-international { + + .status-hint { + display: block; + font-weight: normal; + margin-top: 5px; + } + + } + &-yes, &-no { display: block; diff --git a/app/templates/components/table.html b/app/templates/components/table.html index f8b03e248..f7cbe117b 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -144,7 +144,7 @@ {% macro notification_status_field(notification) %} - {% set displayed_on_single_line = notification.status in ['created', 'pending', 'pending-virus-check', 'sending', 'sent', 'delivered', 'returned-letter', 'accepted', 'received'] %} + {% set displayed_on_single_line = notification.status in ['created', 'pending', 'pending-virus-check', 'sending', 'delivered', 'returned-letter', 'accepted', 'received'] %} {% if not notification %} {% call field(align='right') %}{% endcall %}