aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/full/deviceInactive.vm12
-rw-r--r--templates/short/deviceInactive.vm3
2 files changed, 15 insertions, 0 deletions
diff --git a/templates/full/deviceInactive.vm b/templates/full/deviceInactive.vm
new file mode 100644
index 000000000..51aead653
--- /dev/null
+++ b/templates/full/deviceInactive.vm
@@ -0,0 +1,12 @@
+#set($subject = "$device.name: inactive")
+#set($lastUpdate = $dateTool.getDate())
+#set($ignore = $lastUpdate.setTime($event.getLong("lastUpdate")))
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Inactive<br>
+Last Update: $dateTool.format("YYYY-MM-dd HH:mm:ss", $lastUpdate, $locale, $timezone)<br>
+Link: <a href="$webUrl?eventId=$event.id">$webUrl?eventId=$event.id</a>
+</body>
+</html>
diff --git a/templates/short/deviceInactive.vm b/templates/short/deviceInactive.vm
new file mode 100644
index 000000000..d7431124c
--- /dev/null
+++ b/templates/short/deviceInactive.vm
@@ -0,0 +1,3 @@
+#set($lastUpdate = $dateTool.getDate())
+#set($ignore = $lastUpdate.setTime($event.getLong("lastUpdate")))
+$device.name inactive from $dateTool.format("YYYY-MM-dd HH:mm:ss", $lastUpdate, $locale, $timezone)