blob: bc9beabd2e7a70d56a45658ecec57b3ace8a7376 (
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
|
<tr id="date_<?= $date->id ?>" class="ausfall" data-termin-id="<?= htmlReady($date->id) ?>">
<td data-sort-value="<?= htmlReady($date->date) ?>" class="date_name">
<?= Icon::create('date', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom']) ?>
<?= htmlReady($date->getFullName()) ?>
<?= tooltipIcon($date->content) ?>
<? if (count($date->dozenten) > 0): ?>
<br>
(<?= htmlReady(implode(', ', $date->dozenten->getFullName())) ?>)
<? endif; ?>
</td>
<td class="hidden-small-down"></td>
<td class="hidden-small-down">
<?= htmlReady($date->getTypeName()) ?>
</td>
<? if (count($course->statusgruppen) > 0) : ?>
<td class="hidden-small-down"></td>
<? endif ?>
<td></td>
<td class="actions">
<? if ($has_access && !$cancelled_dates_locked): ?>
<form action="<?= $controller->url_for("course/timesrooms/undeleteSingle/{$date->id}/1") ?>" method="post">
<? $actionMenu = ActionMenu::get()->setContext($date) ?>
<? $actionMenu->addButton('restore_date', _('Termin wiederherstellen'), Icon::create('refresh'),
['data-confirm' => _('Diesen Termin wiederherstellen?')]) ?>
<?= $actionMenu->render() ?>
</form>
<? endif ?>
</td>
</tr>
|