Jan Dittberner
164495c818
- improve icons - implement VoteChoice and VoteStatus as real types with Scanner and Value methods
7 lines
233 B
HTML
7 lines
233 B
HTML
{{ 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 }}
|