blob: f9be5fa7c5f6d1db062a4ce08f693c353a772864 (
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
|
<td colspan="4">
<table class="default">
<colgroup>
<col>
<col style="width: 1%;">
</colgroup>
<? foreach ($abschluss->getFaecher() as $fach) : ?>
<? if (count($perm_institutes) === 0
|| count(array_intersect($perm_institutes, $fach->getFachbereiche()->pluck('institut_id')))) : ?>
<tr>
<td>
<?= htmlReady($fach->name) ?>
</td>
<td class="actions">
<? if (MvvPerm::havePermWrite($fach)) : ?>
<a data-dialog href="<?= $controller->action_link('fach/' . $fach->id) ?>">
<?= Icon::create('edit', 'clickable', ['title' => _('Fach bearbeiten')])->asImg(); ?>
</a>
<? endif; ?>
</td>
</tr>
<? endif; ?>
<? endforeach; ?>
</table>
</td>
|