Allow upvoting own Q&A questions as an opt-in setting
The new Q&A setting allow_self_upvote (off by default) lets participants spend their upvote budget on their own questions, e.g. for prioritizing topics. Without it, participants now see a short hint why their own questions cannot be upvoted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ec0b13cae8
commit
affc9a5ece
10 files changed
+59
-12
No files matched your search
@@ -291,6 +291,13 @@ $optionsError = $slide->getError('options_text');
|
||||
'aria-describedby' => 'qa-upvotes-hint',
|
||||
]) ?>
|
||||
<p class="hint" id="qa-upvotes-hint"><?= __('So viele Stimmen hat jede Person beim Abstimmen. Sie lassen sich frei auf Fragen anderer verteilen – mehrere auf eine Frage geben ihr mehr Gewicht.') ?></p>
|
||||
<?= $this->Form->control('settings.allow_self_upvote', [
|
||||
'type' => 'checkbox',
|
||||
'label' => __('Stimmen für eigene Fragen erlauben'),
|
||||
'checked' => (bool)$settings['allow_self_upvote'],
|
||||
'aria-describedby' => 'qa-self-upvote-hint',
|
||||
]) ?>
|
||||
<p class="hint" id="qa-self-upvote-hint"><?= __('Sinnvoll, wenn ihr Themen priorisiert („Was besprechen wir heute?“). Bei normalen Fragerunden lieber aus: Sonst landen oft die Fragen derjenigen vorn, die alle Stimmen sich selbst geben.') ?></p>
|
||||
<p class="hint"><?= __('Ablauf in der Präsentation: 1. Fragen sammeln, 2. abstimmen, 3. besprechen – die Frage mit den meisten Upvotes zuerst. Du schaltest die Schritte selbst weiter.') ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user