Archived
1
0
Fork 0
This repository has been archived on 2024-12-18. You can view files and clone it, but cannot push or open issues or pull requests.
flexassistant/templates/offline-worker.tmpl
Julien Riou 632da28954
feat: Add notification templates (#2)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-10-13 15:09:59 +02:00

5 lines
No EOL
142 B
Cheetah

{{ if .Worker.IsOnline -}}
🟢 *Worker* _{{ .Worker.Name }}_ is online
{{- else -}}
🔴 *Worker* _{{ .Worker.Name }}_ is offline
{{- end -}}