blob: 86b2c375d9c5114d6326a00b972643ee39151af9 (
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
|
<?php
/**
* @var Studiengaenge_VersionenController $controller
* @var Modul $modul
* @var StgteilabschnittModul $assignment
*/
?>
<td colspan="2">
<table id="modulteile_<?= $modul->id ?>" class="default">
<colgroup>
<col>
<col style="width: 1%;">
</colgroup>
<? foreach ($modul->modulteile as $modulteil) : ?>
<tbody id="<?= $modulteil->id ?>">
<tr id="modulteil_<?= $modulteil->id ?>">
<td><?= htmlReady($modulteil->getDisplayName()) ?></td>
<td class="actions">
<? $perm = MvvPerm::get($assignment->abschnitt) ?>
<? if ($perm->haveFieldPerm('modulteil_abschnitte')) : ?>
<a data-dialog="" href="<?= $controller->action_link('modulteil_semester', $assignment->id, $modulteil->id) ?>">
<?= Icon::create('edit', Icon::ROLE_CLICKABLE , ['title' => _('Semesterzuordnung bearbeiten')])->asImg(); ?>
</a>
<? endif; ?>
</td>
</tr>
</tbody>
<? endforeach; ?>
</table>
</td>
|