$slides * @var array $responseCounts * @var array $typeLabels * @var array $typeDescriptions * @var string $joinUrl * @var string $embedKey */ $this->assign('title', $poll->title); $this->assign('noindex', '1'); $url = fn(string $name, array $params = []) => ['_name' => $name, 'token' => $adminToken] + $params; $hasInternal = array_filter($slides, fn($slide) => $slide->isInteractive() && $slide->isPrivate()) !== []; ?>

title) ?>

is_active) : ?> isPaused()) : ?>

▶ current_slide_id !== null) : ?> Form->postLink('⏸ ' . __('Pause'), $url('admin:control'), [ 'data' => ['action' => 'stop'], 'class' => 'button', 'title' => __('Keine Folie zeigen – Teilnehmende sehen eine Pause-Seite'), ]) ?>

1) : ?>
    $slide) : $isCurrent = $poll->current_slide_id === $slide->id; $count = $responseCounts[$slide->id] ?? 0; ?>
  1. typeLabel()) ?> isInteractive()) : ?> isQuiz()) : ?> · __('Quiz noch nicht gestartet'), 'running' => __('Quiz läuft'), 'finished' => __('Quiz beendet'), ][$slide->quizPhase()]) ?> isQa()) : ?> · __('Fragen sammeln'), 'vote' => __('Abstimmung läuft'), 'discuss' => __('Fragen werden besprochen'), ][$slide->qaStage()]) ?> · hasQaUpvotes()) : ?>setting('max_upvotes'); $perQuestion = $slide->qaUpvotesPerQuestion(); ?> setting('allow_self_upvote') ? ' · ' . __('auch für eigene Fragen') : '' ?> isOrder() && !$slide->is_voting_open) : ?> · is_voting_open) : ?>· hasComments()) : ?>💬 isPrivate()) : ?>🔒 type === 'scale' ? __('intern') : __('anonym') ?>
    question) ?> type === 'choice' && $slide->slide_options) : ?>

    $o->label, $slide->slide_options))) ?>

    isQuiz() && $slide->slide_options) : ?>

    $o->is_correct ? '✓ ' . $o->label : $o->label, $slide->slide_options, ))) ?>

    isOrder() && $slide->slide_options) : ?>

    $o->label, $slide->slide_options, ))) ?>

    Form->postLink(__('Live'), $url('admin:control'), [ 'data' => ['action' => 'goto', 'slide_id' => $slide->id], 'class' => 'button button--small', 'title' => __('Diese Folie jetzt den Teilnehmenden zeigen'), ]) ?> type === 'open' || $slide->isPrivate() || $slide->hasComments()) && $count > 0) : ?> type === 'scale' ? __('Auswertung') : __('Antworten') ?> Form->postLink(__('Duplizieren'), $url('slides:duplicate', ['id' => $slide->id]), [ 'class' => 'button button--small', 'title' => __('Kopie dieser Folie direkt dahinter anlegen (ohne Antworten)'), 'aria-label' => __('Folie „{0}“ duplizieren', $slide->question), ]) ?> 0) : ?> Form->postLink(__('Zurücksetzen'), $url('slides:reset', ['id' => $slide->id]), [ 'class' => 'button button--small', 'confirm' => __('Alle {0} Antworten dieser Folie löschen?', $count), ]) ?> Form->postLink(__('Löschen'), $url('slides:delete', ['id' => $slide->id]), [ 'class' => 'button button--small button--danger', 'confirm' => __('Folie „{0}“ inkl. aller Antworten löschen?', $slide->question), ]) ?>

$label) : ?>