From 0e6980a9b9d3ff5f7a85e6d5fb8bcd06f066ae84 Mon Sep 17 00:00:00 2001
From: Auke Klazema <klazema@astron.nl>
Date: Thu, 5 Oct 2017 08:24:14 +0000
Subject: [PATCH] Task #9893:  Wrong email template was used when obs goes to
 scheduled

---
 SAS/TriggerEmailService/Server/lib/Templates.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/SAS/TriggerEmailService/Server/lib/Templates.py b/SAS/TriggerEmailService/Server/lib/Templates.py
index b6cdeff2ed4..1befcdedbf2 100644
--- a/SAS/TriggerEmailService/Server/lib/Templates.py
+++ b/SAS/TriggerEmailService/Server/lib/Templates.py
@@ -1,5 +1,5 @@
 RECEIVED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s received"""
-ACCEPTED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s completed"""
+ACCEPTED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s scheduled"""
 REJECTED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s cancelled"""
 ABORTED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s aborted"""
 FINISHED_TEMPLATE_SUBJECT = """%(PROJECTNAME)s trigger %(TRIGGERID)s completed"""
@@ -17,9 +17,9 @@ ACCEPTED_TEMPLATE_BODY = """Dear PI/Project Contact,
 
 This is a follow up message for the trigger for your project %(PROJECTNAME)s with ID %(TRIGGERID)s.
 
-The triggered observations have completed.
+The trigger has been scheduled.
 
-The observation IDs are %(OBSSASID)s, the MoM ID is %(OBSMOMID)s.
+The observation IDs are %(OBSSASID)s, the MoM IDs are %(OBSMOMID)s.
 
 To follow the progress and check the details, please check the observation in MoM %(MOMLINK)s.
 
-- 
GitLab