mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Hide intermediate voting results
In order to make votes as neutral as possible, current yes/no votes should not be shown until the voting period is over. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
44ac24d394
commit
6ee1321211
2 changed files with 8 additions and 0 deletions
|
@ -62,17 +62,21 @@ if ($yes > $active_tus / 2) {
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<?php if (!$isrunning): ?>
|
||||
<th><?= __("Yes") ?></th>
|
||||
<th><?= __("No") ?></th>
|
||||
<th><?= __("Abstain") ?></th>
|
||||
<?php endif; ?>
|
||||
<th><?= __("Total") ?></th>
|
||||
<th><?= __('Voted') ?></th>
|
||||
<th><?= __('Participation') ?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php if (!$isrunning): ?>
|
||||
<td><?= $yes ?></td>
|
||||
<td><?= $no ?></td>
|
||||
<td><?= $abstain ?></td>
|
||||
<?php endif; ?>
|
||||
<td><?= $total ?></td>
|
||||
<td>
|
||||
<?php if ($hasvoted == 0): ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue