You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
150 B
HTML
4 lines
150 B
HTML
2 years ago
|
{{ define "motion_status_class" -}}
|
||
|
{{ if eq . 0 }}blue{{ else if eq . 1 }}green{{ else if eq . -1 }}red{{ else if eq . -2 }}grey{{ end }}
|
||
|
{{- end }}
|