aboutsummaryrefslogtreecommitdiff
path: root/app/views/fachabschluss/faecher/details.php
blob: b8abf4e6ea29948bb50d7037d795b936f5dc2cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<td colspan="3">
    <table class="default">
        <colgroup>
            <col>
            <col style="width: 40%">
            <col style="width: 1%">
        </colgroup>
        <?php $abschluesse = $fach->getAbschluesse()?>
        <? foreach ($abschluesse as $abschluss) : ?>
            <tr>
                <td><?= htmlReady($abschluss->getDisplayName()) ?></td>
                <td><?= htmlReady($abschluss->category->getDisplayName()) ?></td>
                <td class="actions">
                    <? if (MvvPerm::havePermWrite($abschluss)) : ?>
                        <a data-dialog href="<?= $controller->action_link('abschluss/' . $abschluss->id) ?>">
                            <?= Icon::create('edit', Icon::ROLE_CLICKABLE, ['title' => _('Abschluss bearbeiten')])->asSvg(); ?>
                        </a>
                    <? endif; ?>
                </td>
            </tr>
        <? endforeach; ?>
    </table>
</td>