{{ define "motion_fragment" }}
{{ .Status|toString|title }} {{ .Modified|date "2006-01-02 15:04:05 UTC" }}

{{ .Tag }}: {{ .Title }}

{{ wrap 76 .Content }}
Due {{.Due|date "2006-01-02 15:04:05 UTC"}}
Proposed {{.Proposer}} ({{.Proposed|date "2006-01-02 15:04:05 UTC"}})
Vote type: {{ .VoteType|toString|title }}
Votes:
Aye
{{.Ayes}}
Naye
{{.Nayes}}
Abstain
{{.Abstains}}
{{ if .Votes }}
{{ range .Votes }}
{{ .Name }}: {{ .Vote.Vote }}
{{ end }}
Hide Votes {{ else }} Show Votes {{ end }}
{{ end }} {{ define "status_class" }}{{ if eq . 0 }}blue{{ else if eq . 1 }}green{{ else if eq . -1 }}red{{ else if eq . -2 }}grey{{ end }}{{ end }} {{ define "motion_actions" }} {{ if eq .Status 0 }} {{ end }} {{ end }}