summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-04-26 13:16:47 +0200
committerJan Dittberner <jandd@cacert.org>2020-04-26 13:16:47 +0200
commitb0aa52fc24561b18a2f9295cea027c9f874ae994 (patch)
tree360300939c43597beaa2751569a07f52c78222f0
parent03247b420d4e8e4ce75e51cec85238bcd13e1967 (diff)
downloadcacert-boardvoting-b0aa52fc24561b18a2f9295cea027c9f874ae994.tar.gz
cacert-boardvoting-b0aa52fc24561b18a2f9295cea027c9f874ae994.tar.xz
cacert-boardvoting-b0aa52fc24561b18a2f9295cea027c9f874ae994.zip
Fix issue with stricter template syntax
-rw-r--r--boardvoting/templates/motion_fragments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/boardvoting/templates/motion_fragments.html b/boardvoting/templates/motion_fragments.html
index 876e586..b6fac50 100644
--- a/boardvoting/templates/motion_fragments.html
+++ b/boardvoting/templates/motion_fragments.html
@@ -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>