From 57ee1c7ff32cac1d7bc0712f57edc5cf9635f9eb Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 17 Oct 2024 14:46:46 +1100 Subject: [PATCH] GPTEINFRA-12030 Update provisioning started email notification template (#2201) --- notifier/operator/templates/provision-started.mjml.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/notifier/operator/templates/provision-started.mjml.j2 b/notifier/operator/templates/provision-started.mjml.j2 index fd87a72d7..deafc4ce1 100644 --- a/notifier/operator/templates/provision-started.mjml.j2 +++ b/notifier/operator/templates/provision-started.mjml.j2 @@ -10,9 +10,13 @@

You will receive more information via email when the provisioning completes in about {{ provision_time_estimate }}.

-

Please note that the environment is set to auto-stop at {{ stop_timestamp }} and auto-destroy at {{ retirement_timestamp }}.

+

NOTICE:
+ {% if stop_timestamp < retirement_timestamp %} + Your environment will auto-stop in {{ stop_timedelta_humanized }} at {{ stop_timestamp }}.
+ {% endif %} + Your environment will expire and be deleted in {{ retirement_timedelta_humanized }} at {{ retirement_timestamp }}.

-

You can change the auto-stop and auto-destroy time in UI.

+

You can change the {% if stop_timestamp < retirement_timestamp %}auto-stop and {% endif %}auto-destroy time in the UI.

{% if service_url %}

You may manage your {{ catalog_namespace.display_name }} service at: