mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: TU rename - Table/Column names, scripts
TU_VoteInfo -> VoteInfo TU_Votes -> Votes TU_VoteInfo.ActiveTUs -> VoteInfo.ActiveUsers script: tuvotereminder -> votereminder Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
87f6791ea8
commit
d2d47254b4
23 changed files with 234 additions and 192 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
<div class="field">
|
||||
{{ "Active" | tr }} {{ "Package Maintainers" | tr }} {{ "assigned" | tr }}:
|
||||
{{ voteinfo.ActiveTUs }}
|
||||
{{ voteinfo.ActiveUsers }}
|
||||
</div>
|
||||
|
||||
{% set submitter = voteinfo.Submitter.Username %}
|
||||
|
@ -47,7 +47,7 @@
|
|||
{% if not voteinfo.is_running() %}
|
||||
<div class="field result">
|
||||
{{ "Result" | tr }}:
|
||||
{% if not voteinfo.ActiveTUs %}
|
||||
{% if not voteinfo.ActiveUsers %}
|
||||
<span>{{ "unknown" | tr }}</span>
|
||||
{% elif accepted %}
|
||||
<span style="color: green; font-weight: bold">
|
||||
|
@ -102,7 +102,7 @@
|
|||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if voteinfo.ActiveTUs %}
|
||||
{% if voteinfo.ActiveUsers %}
|
||||
{{ (participation * 100) | number_format(2) }}%
|
||||
{% else %}
|
||||
{{ "unknown" | tr }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue