Hide Q&A upvote counts until voting ends
A live ranking on the stage swayed the vote. During the vote stage the presenter now gets the questions in submission order without counts, only the total of votes cast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
891e3cb174
commit
759e15390e
5 files changed
+21
-11
No files matched your search
@@ -213,7 +213,7 @@ $bar = function (float $percent, bool $ok = false): string {
|
||||
<?php if ($r['questions'] === []) : ?>
|
||||
<p class="empty"><?= __('Keine Fragen eingereicht.') ?></p>
|
||||
<?php else : ?>
|
||||
<?php $withUpvotes = $r['maxUpvotes'] > 0; ?>
|
||||
<?php $withUpvotes = $r['maxUpvotes'] > 0 && $r['stage'] !== 'vote'; ?>
|
||||
<table>
|
||||
<thead><tr><th class="num">#</th><th><?= __('Frage') ?></th><?php if ($withUpvotes) : ?><th class="num"><?= __('Upvotes') ?></th><?php endif; ?></tr></thead>
|
||||
<tbody>
|
||||
|
||||
Reference in new issue
Block a user