Hide own votes link if no voter is authenticated

debian
Jan Dittberner 7 years ago
parent e0be1a6aa5
commit 57e3d53245

@ -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>

Loading…
Cancel
Save