aboutsummaryrefslogtreecommitdiff
path: root/app/views/shared/studiengang/_studiengangteil.php
blob: 479e94cfc1851abedbe58fd3e681e3e9d8e5895f (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
35
36
37
38
39
40
41
42
43
44
45
46
<h3><?= htmlReady($stgteil->getDisplayName()) ?></h3>
<table class="default mvv-modul-details" id="<?= $stgteil->getId() ?>" data-mvv-id="<?= $stgteil->getId(); ?>" data-mvv-type="stgteil">
    <colgroup>
        <col style="width: 20%;">
        <col style="width: 10%;">
        <col style="width: 10%;">
        <col style="width: 30%;">
        <col style="width: 10%;">
    </colgroup>
    <tr>
        <th><?= _('Fach') ?></th>
        <th><?= _('Kredit-Punkte') ?></th>
        <th><?= _('Semesterzahl') ?></th>
        <th><?= _('Titelzusatz') ?></th>
        <th><?= _('Personen/Kontakte') ?></th>   
    </tr>
    <tr>
        <td data-mvv-field="mvv_stgteil.fach">
            <? if ($stgteil->fach) : ?>
                <?= htmlReady($stgteil->fach->name) ?>
            <? endif; ?>
        </td>
        <td data-mvv-field="mvv_stgteil.kp">
            <?= htmlReady($stgteil->kp) ?>
        </td>
        <td data-mvv-field="mvv_stgteil.semester">
            <?= htmlReady($stgteil->semester) ?>
        </td>
        <td data-mvv-field="mvv_stgteil.zusatz">
            <?= htmlReady($stgteil->zusatz) ?>   
        </td>
        <td data-mvv-field="mvv_stgteil.contact_assignments">
            <? if (empty($stgteil->contact_assignments)): ?>
                -
            <? else: ?>
                <? foreach ($stgteil->contact_assignments as $contact_assignment) : ?>
                    <? if ($GLOBALS['MVV_STGTEIL']['PERSONEN_GRUPPEN']['values'][$contact_assignment->category]['visible']) : ?>
                    <?= htmlReady($contact_assignment->contact->getDisplayName()) ?>
                    (<?= htmlReady($GLOBALS['MVV_STGTEIL']['PERSONEN_GRUPPEN']['values'][$contact_assignment->category]['name']) ?>)
                    <br>
                    <? endif; ?>
                <? endforeach; ?>
            <? endif; ?>
        </td>
    </tr>
</table>