aboutsummaryrefslogtreecommitdiff
path: root/app/views/consultation/block-description.php
blob: d0b455e1574e97b9fdcb77af6d8a672ad4247c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?= strftime('%A, %x', $block->start) ?>

<?= sprintf(
    _('%s bis %s Uhr'),
    date('H:i', $block->start),
    date('H:i', $block->end)
) ?>

<?= $this->render_partial('consultation/block-locked.php', compact('block')) ?>

(<?= formatLinks($block->room) ?>)

<? if ($block->show_participants): ?>
    - <?= _('öffentlich sichtbar') ?>
    <?= tooltipIcon(_('Die Namen der buchenden Person sind sichtbar')) ?>
<? endif; ?>

<? if (count($block->responsibilities) > 0): ?>
<br>
<ul class="narrow list-csv">
<? foreach ($block->responsibilities as $responsibility): ?>
    <li>
        <a href="<?= URLHelper::getLink($responsibility->getURL(), [], true) ?>">
            <?= htmlReady($responsibility->getName()) ?>
        </a>
    </li>
<? endforeach; ?>
</ul>
<? endif; ?>

<? if ($block->note): ?>
<br>
<small>
    <?= formatLinks($block->note); ?>
</small>
<? endif; ?>