{{ define "motion_fragment" }} {{ if eq .Status 0 }}Pending {{ .Due}} {{ else if eq .Status 1}}Approved {{ .Modified}} {{ else if eq .Status -1}}Declined {{ .Modified}} {{ else if eq .Status -2}}Withdrawn {{ .Modified}} {{ else }}Unknown {{ end }} {{ .Tag}}
{{ .Title}}
{{ wrap 76 .Content }}

Due: {{.Due}}
Proposed: {{.Proposer}} ({{.Proposed}})
Vote type: {{.VoteType}}
Aye|Naye|Abstain: {{.Ayes}}|{{.Nayes}}|{{.Abstains}}
{{ if .Votes }} Votes:
{{ range .Votes}} {{ .Name }}: {{ .Vote.Vote }}
{{ end }} Hide Votes {{ else}} Show Votes {{ end }} {{ end }} {{ define "motion_actions" }} {{ if eq .Status 0 }} {{ end }} {{ end }}