aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courseplanning/nonconform.php
blob: 08a128ad1f0bf56308f99d09b7f675de9f901c4f (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
<?php
/**
 * @var array $non_conform_dates
 * @var Course_DetailsController $controller
 */
?>
<table class="default">
    <caption>
        <?= _('Folgende regelmäßige Termine von Veranstaltungen passen nicht in das vorgegebene Zeitraster:') ?>
    </caption>
    <thead>
        <tr>
            <th><?= _('Nr.') ?></th>
            <th><?= _('Name') ?></th>
            <th><?= _('Start') ?></th>
            <th><?= _('Ende') ?></th>
        </tr>
    </thead>
    <tbody>
    <? foreach ($non_conform_dates as $ncd): ?>
        <tr>
            <td><?= htmlReady($ncd['nr']) ?></td>
            <td>
                <?= htmlReady($ncd['name']) ?>
                <a href="<?= $controller->link_for('course/details/index/' . $ncd['cid']) ?>" data-dialog="size=auto">
                    <?= Icon::create('info-circle')->asImg(['class' => 'text-bottom']) ?>
                </a>
            </td>
            <td><?= htmlReady($ncd['start']) ?></td>
            <td><?= htmlReady($ncd['end']) ?></td>
        </tr>
    <? endforeach; ?>
    </tbody>
</table>