Hide own votes link if no voter is authenticated
This commit is contained in:
parent
e0be1a6aa5
commit
57e3d53245
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue