Skip to content

Commit ffa1b1a

Browse files
authored
changes for fixing email template (#1072)
1 parent f6cc997 commit ffa1b1a

File tree

2 files changed

+74
-5
lines changed

2 files changed

+74
-5
lines changed

forms-flow-ai/forms-flow-ai-ee/forms-flow-bpm/processes/Common/email-template.dmn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="Definitions_1h338s2" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.12.0">
2+
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="Definitions_1h338s2" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.0.0">
33
<decision id="decide-email-template" name="email-template">
44
<decisionTable id="decisionTable_1">
55
<input id="input_1" label="category">
@@ -112,7 +112,7 @@
112112
<text>"Detailed Ecological Risk Assessment Checklist"</text>
113113
</outputEntry>
114114
<outputEntry id="LiteralExpression_01beqp6">
115-
<text>"templates/nom_application.ftl"</text>
115+
<text>"templates/common_application_status.ftl"</text>
116116
</outputEntry>
117117
<outputEntry id="LiteralExpression_1iiimqa">
118118
<text>"siteremediation@gov.bc.ca"</text>
@@ -138,7 +138,7 @@
138138
<text>"Notification of Independent Remediation Application Status Updated"</text>
139139
</outputEntry>
140140
<outputEntry id="LiteralExpression_1ndgbup">
141-
<text>"templates/nom_application.ftl"</text>
141+
<text>"templates/nir_application.ftl"</text>
142142
</outputEntry>
143143
<outputEntry id="LiteralExpression_0fm9kmi">
144144
<text>"siteremediation@gov.bc.ca"</text>
@@ -164,7 +164,7 @@
164164
<text>"Contaminated Sites Services Application Updated"</text>
165165
</outputEntry>
166166
<outputEntry id="LiteralExpression_0oyjcx5">
167-
<text>"templates/nom_application.ftl"</text>
167+
<text>"templates/common_application_status.ftl"</text>
168168
</outputEntry>
169169
<outputEntry id="LiteralExpression_01cbgvj">
170170
<text>"siteremediation@gov.bc.ca"</text>
@@ -242,7 +242,7 @@
242242
<text>"Site Disclosure Statements"</text>
243243
</outputEntry>
244244
<outputEntry id="LiteralExpression_16tjxob">
245-
<text>"templates/nom_application.ftl"</text>
245+
<text>"templates/common_application_status.ftl"</text>
246246
</outputEntry>
247247
<outputEntry id="LiteralExpression_0gjfcbj">
248248
<text>"siteremediation@gov.bc.ca"</text>
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!DOCTYPE html>
2+
<html style="margin: 0;padding: 0;box-sizing: border-box;border: none;">
3+
4+
<head style="margin: 0;padding: 0;box-sizing: border-box;border: none;">
5+
<meta charset="utf-8" style="margin: 0;padding: 0;box-sizing: border-box;border: none;">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" style="margin: 0;padding: 0;box-sizing: border-box;border: none;">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" style="margin: 0;padding: 0;box-sizing: border-box;border: none;">
8+
9+
</head>
10+
11+
<body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;color: #313132;">
12+
<table style="width: 580px;">
13+
<tr>
14+
<td style="width: 151px;">
15+
<img style="width: 151px;" src="https://${host}/static/media/logo-banner.e5eec500e32dc7377862.png">
16+
</td>
17+
<td>
18+
<span id="nom_notification" style="overflow: visible;line-height: 30px;text-align: left;font-style: normal;font-weight: bold;font-size: 20px;color: rgba(0, 51, 102, 1);letter-spacing: -0.2px;vertical-align: middle;">Site Remediation Services</span>
19+
</td>
20+
</tr>
21+
</table>
22+
<table style="width: 580px;">
23+
<tr>
24+
<td>
25+
<hr color="#DBDCDC" size="1px">
26+
</td>
27+
</tr>
28+
<tr>
29+
<td>
30+
<p class="info" style="margin-top: 24px;margin-bottom: 0;overflow: visible;line-height:27px;text-align: left;font-style: normal;font-weight: bold;font-size: 20px;color: #313132;letter-spacing: 0px;">
31+
${formName}.
32+
</p>
33+
</td>
34+
</tr>
35+
<tr>
36+
<td>
37+
<p class="info" style="margin-top: 24px;margin-bottom: 0;overflow: visible;line-height: 24px;text-align: left;font-style: normal;font-weight: normal;font-size: 16px;color: #313132;letter-spacing: 0px;">
38+
Hello,
39+
</p>
40+
<p class="info" style="margin-top: 24px;margin-bottom: 0;overflow: visible;line-height: 24px;text-align: left;font-style: normal;font-weight: normal;font-size: 16px;color: #313132;letter-spacing: 0px;">
41+
Your <b>${formName}</b> application # ${applicationId} has been updated. Current status is <b>${action}</b> by ${userRole}.
42+
</p>
43+
</td>
44+
</tr>
45+
<tr>
46+
<td>
47+
<p class="info" style="margin-top: 24px;margin-bottom: 0;overflow: visible;line-height: 24px;text-align: left;font-style: normal;font-weight: normal;font-size: 16px;color: #313132;letter-spacing: 0px;">
48+
<span>If you need any help, don’t hesitate to reach out to us at <a class="link" href="mailto:${support}" style="overflow: visible;line-height: 24px;text-align: left;overflow-wrap: break-word;word-wrap: break-word;font-style: normal;font-weight: normal;font-size: 16px;color: #1A5A96;text-decoration: underline;">${support}</a></span>
49+
</p>
50+
</td>
51+
</tr>
52+
<tr>
53+
<td style="padding-top: 24px;">
54+
<hr color="#DBDCDC" size="1px">
55+
</td>
56+
</tr>
57+
<tr>
58+
<td>
59+
<p class="footer">Have questions or need help? Please email us at:
60+
<a class="footer_link" href="mailto:${support}">${support}</a>
61+
</p>
62+
<p> EPD will never send an email that asks you to provide, confirm or verify personal, log on or account information.
63+
DO NOT reply to this email as it was sent from an unmonitored account.
64+
</p>
65+
</td>
66+
</tr>
67+
</table>
68+
</body>
69+
</html>

0 commit comments

Comments
 (0)