$answers * @var array|null $scale Distribution of a scale slide, null otherwise * @var array|null $choice Votes of a choice slide, null otherwise * @var int $participants Participants who answered * @var list $comments Comments of a scale, oldest first */ use Cake\I18n\DateTime; $this->assign('title', $slide->question); $this->assign('noindex', '1'); $count = $scale !== null ? array_sum(array_column($scale['buckets'], 'count')) : count($answers); ?>

←

typeLabel()) ?> isPrivate()) : ?>· 🔒 type === 'open' ? __('Anonymes Feedback') : __('Internes Feedback') ?>

question) ?>

isPrivate()) : ?>

type === 'open' ? __('Diese Antworten werden weder in der Präsentation noch den Teilnehmenden angezeigt.') : __('Dieses Ergebnis wird weder in der Präsentation noch den Teilnehmenden angezeigt.') ?>

Number->format((float)$option['percent'], ['places' => 0, 'precision' => 1, 'locale' => 'de_DE'])) ?> %

: Number->format((float)$scale['average'], ['places' => 1, 'precision' => 1, 'locale' => 'de_DE'])) ?> /

$bucket) : $label = match (true) { $i === 0 && $scale['minLabel'] !== '' => $scale['minLabel'], $i === count($scale['buckets']) - 1 && $scale['maxLabel'] !== '' => $scale['maxLabel'], default => '', }; ?>
() Number->format((float)$bucket['percent'], ['places' => 0, 'precision' => 1, 'locale' => 'de_DE'])) ?> %

hasComments()) : ?>