From 908d8962c94e969628b309a42e6e6896ffab1103 Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Thu, 19 May 2022 09:35:46 +0100 Subject: [PATCH] Fix expiry date not being shown to users. (#55) --- .../jasmin_notifications/mail/grant_expired/content.txt | 4 ++-- .../jasmin_notifications/mail/grant_expiring/content.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jasmin_services/templates/jasmin_notifications/mail/grant_expired/content.txt b/jasmin_services/templates/jasmin_notifications/mail/grant_expired/content.txt index 5599094..744d902 100644 --- a/jasmin_services/templates/jasmin_notifications/mail/grant_expired/content.txt +++ b/jasmin_services/templates/jasmin_notifications/mail/grant_expired/content.txt @@ -8,7 +8,7 @@ The following access has expired: Service: {{ target.access.role.service }} Role: {{ target.access.role.name }} User: {{ target.access.user }} - Expired: {{ target.access.expires }} + Expired: {{ target.expires }} You are receiving this email as a designated responsible user for this service user. @@ -16,7 +16,7 @@ Please contact the system administrator to renew this access. {% else %} Service: {{ target.access.role.service }} Role: {{ target.access.role.name }} - Expired: {{ target.access.expires }} + Expired: {{ target.expires }} Please visit {{ follow_link }} to apply for an extension. {% endif %} diff --git a/jasmin_services/templates/jasmin_notifications/mail/grant_expiring/content.txt b/jasmin_services/templates/jasmin_notifications/mail/grant_expiring/content.txt index 102aa0a..fa8761c 100644 --- a/jasmin_services/templates/jasmin_notifications/mail/grant_expiring/content.txt +++ b/jasmin_services/templates/jasmin_notifications/mail/grant_expiring/content.txt @@ -8,7 +8,7 @@ The following access will expire soon: Service: {{ target.access.role.service }} Role: {{ target.access.role.name }} User: {{ target.access.user }} - Expires: {{ target.access.expires }} + Expires: {{ target.expires }} You are receiving this email as a designated responsible user for this service user. @@ -16,7 +16,7 @@ Please contact the system administrator to renew this access. {% else %} Service: {{ target.access.role.service }} Role: {{ target.access.role.name }} - Expires: {{ target.access.expires }} + Expires: {{ target.expires }} Please visit {{ follow_link }} to review your current access and apply for an extension. {% endif %}