From 27004f3b9c32ebf3a9f99fa2388ebcbd3fcfb5de Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 27 Aug 2020 23:45:17 -0700 Subject: Add device inactivity event --- templates/full/deviceInactive.vm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/full/deviceInactive.vm (limited to 'templates/full') 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"))) + + + +Device: $device.name
+Inactive
+Last Update: $dateTool.format("YYYY-MM-dd HH:mm:ss", $lastUpdate, $locale, $timezone)
+Link: $webUrl?eventId=$event.id + + -- cgit v1.2.3