summaryrefslogtreecommitdiff
path: root/templates/motion.html
blob: 66e4ce0b522a638c8726b055ac3091ea230c001c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ template "header" . }}
<a href="/motions/">Show all votes</a>
{{ $voter := .Voter }}
<table class="list">
    <thead>
    <th>Status</th>
    <th>Motion</th>
    {{ if $voter}}
    <th>Actions</th>
    {{ end }}
    </thead>
    <tbody>
    <tr>
        {{ with .Decision }}
        {{ template "motion_fragment" .}}
        {{ if $voter }}{{ template "motion_actions" . }}{{ end }}
        {{ end}}
    </tr>
    </tbody>
</table>
{{ template "footer" . }}