Fix issue with stricter template syntax

This commit is contained in:
Jan Dittberner 2020-04-26 13:16:47 +02:00
parent 03247b420d
commit b0aa52fc24

View file

@ -40,7 +40,7 @@
{{ end }}
</div>
<a href="/motions/{{ .Tag }}">Hide Votes</a>
{{ else if or ((ne 0 .Ayes) (ne 0 .Nayes) (ne 0 .Abstains)) }}
{{ else if or (ne 0 .Ayes) (ne 0 .Nayes) (ne 0 .Abstains) }}
<a href="/motions/{{ .Tag }}?showvotes=1">Show Votes</a>
{{ end }}
</td>