diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-08-21 07:21:28 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-08-21 07:21:28 +0000 |
| commit | bee4cb149ca14fe4f13b1a09ef8b6cb97ea8e0c9 (patch) | |
| tree | 77e7ae4cc0e6f9750444bbac0dfa174ad6a1e41e | |
| parent | 2b15768fb860fe0f99c6e979f069d49d5e8885d1 (diff) | |
show confirmation text on admin booking page as well, fixes #2991
Closes #2991
Merge request studip/studip!2041
| -rw-r--r-- | app/views/consultation/admin/book.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/consultation/admin/book.php b/app/views/consultation/admin/book.php index 8f2db66..a5a4371 100644 --- a/app/views/consultation/admin/book.php +++ b/app/views/consultation/admin/book.php @@ -1,3 +1,10 @@ +<?php +/** + * @var Consultation_AdminController $controller + * @var ConsultationSlot $slot + * @var int $page + */ +?> <form action="<?= $controller->book($slot->block, $slot, $page) ?>" method="post" class="default"> <?= CSRFProtection::tokenTag() ?> @@ -31,10 +38,19 @@ ])->withButton() ?> </label> + <? if ($slot->block->require_reason !== 'no'): ?> <label> <?= _('Grund') ?> <textarea name="reason"></textarea> </label> + <? endif; ?> + + <? if ($slot->block->confirmation_text): ?> + <label> + <?= _('Bitte lesen Sie sich den folgenden Hinweis durch:') ?> + <blockquote><?= htmlReady($slot->block->confirmation_text) ?></blockquote> + </label> + <? endif; ?> </fieldset> |
