Road Damages
This article is part of sample templates for Incident Management
Use the Road Damages status board to record the locations of closures in your area. Mark the roads as either open both ways, open one day, or closed and record the reason for their closure. Use the map feature to get a quick overview of where the roads are located and what their status is based on their marker color. To upload this template into your account, follow the steps on our Importing Sample Templates page.
Copy the code below to add this template to your account
1
{
2
"name": "Road Damages",
3
"defaultColor": null,
4
"nameLabel": "ID",
5
"nameTemplate": "{counter}",
6
"uniq_name": "road_damages",
7
"icon": "fa fa-road",
8
"quickAdd": false,
9
"suggestFromCollections": false,
10
"layout": [
11
{
12
"type": "section",
13
"rows": [
14
{
15
"type": "row",
16
"items": [
17
"road_name",
18
"time_reported"
19
]
20
},
21
{
22
"type": "row",
23
"items": [
24
"current_status",
25
"reason"
26
]
27
}
28
]
29
},
30
{
31
"type": "section",
32
"rows": [
33
{
34
"type": "row",
35
"items": [
36
"municipality",
37
"nearest_intersection",
38
"to_intersection"
39
]
40
},
41
{
42
"type": "row",
43
"items": [
44
"location"
45
]
46
}
47
],
48
"name": "Location details"
49
},
50
{
51
"type": "section",
52
"rows": [
53
{
54
"type": "row",
55
"items": [
56
"notes",
57
"files"
58
]
59
}
60
]
61
}
62
],
63
"fields": {
64
"current_status": {
65
"label": "Current Status",
66
"type": "select",
67
"options": [
68
{
69
"label": "Open, both ways",
70
"value": "open_both_ways"
71
},
72
{
73
"value": "open_one_lane",
74
"label": "Open, one lane"
75
},
76
{
77
"value": "closed",
78
"label": "Closed"
79
},
80
{
81
"label": "Staffed traffic control",
82
"value": "staffed_traffic_control"
83
}
84
],
85
"default": null
86
},
87
"reason": {
88
"label": "Reason",
89
"type": "checkbox",
90
"options": [
91
{
92
"label": "Washout",
93
"value": "washout"
94
},
95
{
96
"value": "trees_in_road",
97
"label": "Trees in road"
98
},
99
{
100
"value": "road_blocked",
101
"label": "Road blocked"
102
},
103
{
104
"value": "powerline_in_road",
105
"label": "Powerline in road"
106
},
107
{
108
"value": "powerline_hanging",
109
"label": "Powerline hanging"
110
},
111
{
112
"value": "tree_on_line",
113
"label": "Tree on line"
114
},
115
{
116
"value": "utility_pole_in_road",
117
"label": "Utility pole in road"
118
},
119
{
120
"value": "road_flooded",
121
"label": "Road flooded"
122
}
123
],
124
"allowEmpty": true
125
},
126
"municipality": {
127
"label": "Municipality",
128
"type": "text"
129
},
130
"nearest_intersection": {
131
"label": "From Intersection",
132
"type": "text"
133
},
134
"location": {
135
"label": "Location",
136
"type": "location"
137
},
138
"notes": {
139
"label": "Notes",
140
"type": "text",
141
"hint": "E.g. pole#, street#"
142
},
143
"files": {
144
"label": "Files",
145
"type": "file"
146
},
147
"road_name": {
148
"label": "Road Name",
149
"type": "text"
150
},
151
"time_reported": {
152
"label": "Time Reported",
153
"type": "datetime"
154
},
155
"to_intersection": {
156
"label": "To Intersection",
157
"type": "text"
158
}
159
},
160
"expressions": {
161
"success": "current_status === 'open_both_ways'",
162
"warning": "current_status === 'open_one_lane'",
163
"danger": "current_status === 'closed'"
164
},
165
"listLayout": {
166
"row": [
167
"road_name",
168
"nearest_intersection",
169
"to_intersection",
170
"current_status",
171
"municipality",
172
"location",
173
"reason",
174
"time_reported"
175
]
176
},
177
"headerProperties": [
178
"Closed {{(items | filterBy:['data.current_status']:'closed').length}}",
179
"One lane {{(items | filterBy:['data.current_status']:'open_one_lane').length}}",
180
"Open {{(items | filterBy:['data.current_status']:'open_both_ways').length}}"
181
],
182
"dashboardStats": [
183
{
184
"label": "Closed",
185
"value": "{{(items | filterBy:['data.current_status']:'closed').length}}"
186
},
187
{
188
"label": "One lane",
189
"value": "{{(items | filterBy:['data.current_status']:'open_one_lane').length}}"
190
},
191
{
192
"label": "Open",
193
"value": "{{(items | filterBy:['data.current_status']:'open_both_ways').length}}"
194
}
195
],
196
"dashboardStatus": {
197
"danger": "(items | filterBy:['data.current_status']:'closed').length",
198
"warning": "(items | filterBy:['data.current_status']:'open_one_lane').length"
199
},
200
"defaultSortingProperty": "created_date",
201
"defaultSortingOrder": "asc",
202
"defaultShowOwnItemsOnly": false,
203
"defaultShowArchived": false
204
}
Copied!
Last modified 21d ago
Copy link