Make private slides start with hidden results instead of withholding them
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped

Anonymous/internal feedback now only presets "hide results" on the stage:
presenter and embed get the full results flagged private and can show them
on demand. Participants still never get results of private slides, the
public PDF export strips them via ResultsService::withoutContents().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 19:33:52 +01:00
1 parent d1facd32a6
commit ecb8f9d31c
11 files changed
+143 -95

No files matched your search

+4 -4
View File
@@ -1,7 +1,7 @@
<?php
/**
* All answers of an open question or the ratings of a scale – the only place where
* anonymous/internal feedback (private slides) can be read, besides the complete version of the PDF export.
* All answers of an open question or the ratings of a scale, including anonymous/internal
* feedback (private slides).
*
* @var \App\View\AppView $this
* @var \App\Model\Entity\Poll $poll
@@ -32,8 +32,8 @@ $count = $scale !== null ? array_sum(array_column($scale['buckets'], 'count')) :
<?php endif; ?>
<?php if ($slide->isPrivate()) : ?>
<p class="hint"><?= $scale !== null
? __('Dieses Ergebnis wird weder in der Präsentation noch den Teilnehmenden angezeigt.')
: __('Diese Antworten werden weder in der Präsentation noch den Teilnehmenden angezeigt.') ?></p>
? __('Dieses Ergebnis ist in der Präsentation zunächst verborgen und wird den Teilnehmenden nie angezeigt.')
: __('Diese Antworten sind in der Präsentation zunächst verborgen und werden den Teilnehmenden nie angezeigt.') ?></p>
<?php endif; ?>
<?php if ($scale !== null) : ?>