mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
Merge pull request #1305 from alphagov/fix-key-inbound
Fix timestamp of latest inbound text on dashboard
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
)
|
||||
}}
|
||||
<div class="big-number-meta">
|
||||
{% if inbound_sms_summary.latest_message %}
|
||||
latest message {{ inbound_sms_summary.latest_message | format_delta }}
|
||||
{% if inbound_sms_summary.most_recent %}
|
||||
latest message {{ inbound_sms_summary.most_recent | format_delta }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1169,7 +1169,7 @@ def mock_get_inbound_sms_summary(mocker):
|
||||
):
|
||||
return {
|
||||
'count': 99,
|
||||
'latest_message': datetime.utcnow().isoformat()
|
||||
'most_recent': datetime.utcnow().isoformat()
|
||||
}
|
||||
|
||||
return mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user