Skip to content

Commit 2a2e3dc

Browse files
authored
fix: Only show eligible voters if the poll is not gatekept (#125)
1 parent 6406fcd commit 2a2e3dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎templates/result.tmpl‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434

3535
{{/* Displays information about required quorum and number of voters */}}
3636
<div id="quorum-info">
37-
<h6>Number of Eligible Voters: {{ len .EligibleVoters }}</h6>
37+
{{ if .Gatekeep }}
38+
<h6>Number of Eligible Voters: {{ len .EligibleVoters }}</h6>
39+
{{ end }}
3840
<h6>Votes Cast: {{ .NumVotes }}</h6>
3941
<br class="lh-1" />
4042
<div id="votes-needed-for-quorum">

0 commit comments

Comments
 (0)