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

8 lines
233 B
HTML
Raw Normal View History

{{ define "motion_status_class" -}}
{{- if eq .Label "pending" }}blue
{{- else if eq .Label "approved" }}green
{{- else if eq .Label "declined" }}red
{{- else if eq .Label "withdrawn" }}grey
{{- end }}
{{- end }}