Skip to content

Commit 092259d

Browse files
committed
small fixes
1 parent a41e967 commit 092259d

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

templates/closed.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
class="list-group-item list-group-item-action p-3"
1313
href="/results/{{ $poll.Id }}"
1414
>
15-
<span><strong>
16-
{{ $poll.Title }}
17-
</strong></span>
15+
<span>
16+
<strong>{{ $poll.Title }}</strong>
17+
</span>
1818

19-
<span
20-
><i>(created by {{ $poll.CreatedBy }})</i></span
21-
>
19+
<span>
20+
<i>(created by {{ $poll.CreatedBy }})</i>
21+
</span>
2222
</a>
2323
</li>
2424
{{ end }}

templates/eboard.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525
<br/>
2626
{{ end }}
27-
<button type="submit" class="btn btn-primary">Submit</button>
27+
<button type="submit" class="btn btn-primary mt-2">Submit</button>
2828
</form>
2929
{{ end }}
3030
</div>

templates/result.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
{{/* Displays information about required quorum and number of voters */}}
3636
<div id="quorum-info">
3737
<h6>Number of Eligible Voters: {{ len .EligibleVoters }}</h6>
38+
<h6>Votes Cast: {{ .NumVotes }}</h6>
39+
<br class="lh-1" />
3840
<div id="votes-needed-for-quorum">
3941
{{/* This works currently because quorum type can only be set if gatekeep is required */}}
4042
{{ if not .Gatekeep }}
4143
<h6>No quorum required for this poll.</h6>
42-
<h6>Votes Cast: {{ .NumVotes }}</h6>
4344
{{ else }}
4445
<h6>Quorum Type: {{ .Quorum }}%</h6>
4546
<h6>Votes Needed For Quorum: {{ .VotesNeededForQuorum }}</h6>
46-
<h6>Votes Cast: {{ .NumVotes }}</h6>
4747
{{ end }}
4848
<br/>
4949
<br/>

0 commit comments

Comments
 (0)