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:
Lukas Fleischer 2014-02-03 21:53:21 +01:00
parent 44ac24d394
commit 6ee1321211
2 changed files with 8 additions and 0 deletions

View file

@ -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): ?>