-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeam Fact Sheet to Email HTML.html
65 lines (65 loc) · 2.86 KB
/
Team Fact Sheet to Email HTML.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
font-size: 14px;
}
.section {
margin-bottom: 15px;
}
.bold {
font-weight: bold;
}
.underline {
text-decoration: underline;
}
/* Adjust the width of the content */
.content {
max-width: 100%; /* Adjust the value as needed */
}
/* Ensure resource type text doesn't get cut off */
.resource-type {
word-wrap: break-word;
}
</style>
</head>
<body>
<div class="content">
<p>
Hello @{triggerOutputs()?['body/feature/attributes/point_of_contact_for_incident_m']},
</p>
<p>
Thank you for submitting your @{triggerOutputs()?['body/feature/attributes/deployment_or_training']} Team Fact Sheet (@{triggerOutputs()?['body/eventType']}) for @{triggerOutputs()?['body/feature/attributes/team_name']}.
</p>
</div>
<div class="content">
<p class="bold">
Report Details:
</p>
<p>
<b>Report Time:</b> @{formatDateTime(addHours(addSeconds('1970-01-01',div(int(triggerOutputs()?['body/feature/attributes/team_status_report_time']), 1000)),-4), 'MM/dd/yyyy HH:mm')} Eastern (Zulu -4)<br>
<b>Resource:</b> @{triggerOutputs()?['body/feature/attributes/resource_type_names']}<br>
<b>People:</b> @{triggerOutputs()?['body/feature/attributes/approximate_number_of_people_de']} people<br>
<b>Type:</b> @{triggerOutputs()?['body/feature/attributes/tf_type']}<br>
<b>Status:</b> @{triggerOutputs()?['body/feature/attributes/team_status']}<br>
<b>Location:</b> @{triggerOutputs()?['body/feature/attributes/location_description']}<br>
<b>City & Zip:</b> @{triggerOutputs()?['body/feature/attributes/city']}, @{triggerOutputs()?['body/feature/attributes/zip']}<br>
<b>Notable Activities:</b> @{triggerOutputs()?['body/feature/attributes/notable_activites']}<br>
<b>Transit Status:</b> @{triggerOutputs()?['body/feature/attributes/transit_status']}<br>
<b>Current Destination:</b> @{triggerOutputs()?['body/feature/attributes/current_destination']}<br>
<b>ETA Delay:</b> @{triggerOutputs()?['body/feature/attributes/eta_delay']}<br>
<b>Current ETA:</b> @{formatDateTime(addHours(addSeconds('1970-01-01',div(int(triggerOutputs()?['body/feature/attributes/team_status_report_time']), 1000)),-4), 'MM/dd/yyyy HH:mm')} Eastern (Zulu -4)<br>
</p>
</div>
<div class="content">
<p class="bold">
Updating Your Team Fact Sheet:
</p>
<p>
To update your status, access the existing Team Fact Sheet survey through this unique link: <a href="https://survey123.arcgis.com/share/f0c2ab27da8f49e6bf98d28926b416a0?mode=edit&globalId=@{triggerOutputs()?['body/feature/result/globalId']}&isOrgSignIn=false">Edit Survey</a>.
</p>
</div>
</body>
</html>