mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'master' into live
This commit is contained in:
commit
7932cd7934
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ def render_proposal(request: Request, context: dict, proposal: int,
|
||||||
context["voters"] = voters.all()
|
context["voters"] = voters.all()
|
||||||
|
|
||||||
total = voteinfo.total_votes()
|
total = voteinfo.total_votes()
|
||||||
participation = (total / voteinfo.ActiveTUs) if total else 0
|
participation = (total / voteinfo.ActiveTUs) if voteinfo.ActiveTUs else 0
|
||||||
context["participation"] = participation
|
context["participation"] = participation
|
||||||
|
|
||||||
accepted = (voteinfo.Yes > voteinfo.ActiveTUs / 2) or \
|
accepted = (voteinfo.Yes > voteinfo.ActiveTUs / 2) or \
|
||||||
|
|
Loading…
Add table
Reference in a new issue