cacert-boardvoting/ui/html/partials/motion_status_class.html

3 lines
150 B
HTML

{{ 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 }}