summaryrefslogtreecommitdiff
path: root/templates/motions.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/motions.html')
-rw-r--r--templates/motions.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/motions.html b/templates/motions.html
index ef84757..414c399 100644
--- a/templates/motions.html
+++ b/templates/motions.html
@@ -1,10 +1,10 @@
{{ template "header" . }}
+{{ $voter := .Voter }}
{{ if .Params.Flags.Unvoted }}
<a href="/motions/">Show all votes</a>
-{{ else }}
+{{ else if $voter }}
<a href="/motions/?unvoted=1">Show my outstanding votes</a><br/>
{{ end }}
-{{ $voter := .Voter }}
{{ if .Decisions }}
<table class="list">
<thead>