add view link in message log for letter notifications

This commit is contained in:
chrisw
2018-01-16 11:59:41 +00:00
parent 1cf47b7dac
commit e52921bc00
2 changed files with 27 additions and 0 deletions

View File

@@ -71,6 +71,9 @@
<dt>{{ key }}:</dt>
<dd class="api-notifications-item-data-item">{{ notification[key] }}</dd>
{% endfor %}
{% if notification['notification_type'] == 'letter' %}
<a href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View letter</a>
{% endif %}
</dl>
</div>
</details>