aboutsummaryrefslogtreecommitdiff
path: root/app/views/consultation/block-description.php
blob: 4d037ff5c4fa862226d3156670eadc3e7518479a (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
<?= strftime('%A, %x', $block->start) ?>

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

(<?= 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; ?>