mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add client reference to API Integration / message log
- makes it clearer for users and easier to copy - also updated text in preview message
This commit is contained in:
@@ -66,10 +66,12 @@
|
|||||||
<div>
|
<div>
|
||||||
<dl id="notification-{{ notification.id }}" class="api-notifications-item-data bottom-gutter-1-2">
|
<dl id="notification-{{ notification.id }}" class="api-notifications-item-data bottom-gutter-1-2">
|
||||||
{% for key in [
|
{% for key in [
|
||||||
'id', 'notification_type', 'created_at', 'updated_at', 'sent_at', 'status'
|
'id', 'client_reference', 'notification_type', 'created_at', 'updated_at', 'sent_at', 'status'
|
||||||
] %}
|
] %}
|
||||||
<dt>{{ key }}:</dt>
|
{% if notification[key] %}
|
||||||
<dd class="api-notifications-item-data-item">{{ notification[key] }}</dd>
|
<dt>{{ key }}:</dt>
|
||||||
|
<dd class="api-notifications-item-data-item">{{ notification[key] }}</dd>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if notification['notification_type'] == 'letter' %}
|
{% if notification['notification_type'] == 'letter' %}
|
||||||
<a href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View letter</a>
|
<a href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View letter</a>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% if is_precompiled_letter %}
|
{% if is_precompiled_letter %}
|
||||||
Provided as PDF. Sent
|
Provided as PDF, sent
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if help %}
|
{% if help %}
|
||||||
{{ template.name }}
|
{{ template.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user