diff options
-rw-r--r-- | templates/motions.html | 4 |
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> |