diff --git a/app/assets/stylesheets/views/dashboard.scss b/app/assets/stylesheets/views/dashboard.scss index a1fed973a..ddd35428a 100644 --- a/app/assets/stylesheets/views/dashboard.scss +++ b/app/assets/stylesheets/views/dashboard.scss @@ -96,5 +96,6 @@ } .align-with-message-body { + display: block; margin-top: $gutter * 5 / 6; } diff --git a/app/templates/components/table.html b/app/templates/components/table.html index 8708465b2..5ad942fe6 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -120,6 +120,7 @@ {% macro notification_status_field(notification) %} {% call field(status=notification.status|format_notification_status_as_field_status, align='right') %} + {% if notification.status in ['created', 'sending', 'delivered'] %}{% endif %} {% if notification.status|format_notification_status_as_url %} {% endif %} @@ -135,6 +136,7 @@ (notification.updated_at or notification.created_at)|format_datetime_short ) }} + {% if notification.status in ['created', 'sending', 'delivered'] %}{% endif %} {% endcall %} {% endmacro %} diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index c033e9427..4bec657b3 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -50,8 +50,8 @@ field_headings_visible=False ) %} {% call row_heading() %} - {{ item.to }} -

+ {{ item.to }} +

{{ item.preview_of_content }}

{% endcall %} diff --git a/app/templates/views/activity/notifications.html b/app/templates/views/activity/notifications.html index 2b6234d50..cabcd436b 100644 --- a/app/templates/views/activity/notifications.html +++ b/app/templates/views/activity/notifications.html @@ -17,10 +17,8 @@ ) %} {% call row_heading() %} -

- {{ item.to }} -

-

+ {{ item.to }} +

{{ item.preview_of_content }}

{% endcall %} diff --git a/app/templates/views/dashboard/inbox.html b/app/templates/views/dashboard/inbox.html index fe343b1bc..6dbc2fb5b 100644 --- a/app/templates/views/dashboard/inbox.html +++ b/app/templates/views/dashboard/inbox.html @@ -31,10 +31,10 @@ > {{ item.user_number | format_phone_number_human_readable }} - {{ item.content }} + {{ item.content }} {% endcall %} {% call field(align='right') %} - + {{ item.created_at | format_delta }} {% endcall %}