diff options
| author | Peter Thienel <thienel@data-quest.de> | 2024-12-20 14:20:33 +0000 |
|---|---|---|
| committer | Peter Thienel <thienel@data-quest.de> | 2024-12-20 14:20:33 +0000 |
| commit | 5f8c492f51f3e0eda579157312b4ed5f7fa024e1 (patch) | |
| tree | 93c1abfd248bdc23f29f3eec07306b190b0a702d /app/views/shared/modul/overview.php | |
| parent | a8298beda0487fd5e5a4a286f90ba549dbd101fd (diff) | |
Resolve "Sprachauswahl für Originalfassung der Modul(teil)-Deskriptoren", fixes #4261
Closes #4261
Merge request studip/studip!3729
Diffstat (limited to 'app/views/shared/modul/overview.php')
| -rw-r--r-- | app/views/shared/modul/overview.php | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/app/views/shared/modul/overview.php b/app/views/shared/modul/overview.php index 4bfd71e..be91c7a 100644 --- a/app/views/shared/modul/overview.php +++ b/app/views/shared/modul/overview.php @@ -1,3 +1,15 @@ +<?php +/** + * @var Modul $modul + * @var Institute $institut + * @var ModulDeskriptor $deskriptor + * @var array $modulteile + * @var Semester $semester + * @var string $pruef_ebene + * @var int $type + */ +?> + <table class="default mvv-modul-details nohover"> <tr> <th class="mvv-modul-details-head" style="width: 30%"><?= htmlReady($modul->code) ?></th> @@ -34,10 +46,10 @@ <tr> <td colspan="4" style="padding: 0;"> <table class="default nohover"> - <? if (mb_strlen($teilnahmeVoraussetzung) > 0): ?> + <? if (mb_strlen($deskriptor->voraussetzung) > 0): ?> <tr> <td style="width: 20%; font-weight: bold;"><?= _('Teilnahmevoraussetzungen') ?></td> - <td ><?= formatReady($teilnahmeVoraussetzung) ?></td> + <td ><?= formatReady($deskriptor->voraussetzung) ?></td> </tr> <? endif; ?> <? if (mb_strlen($deskriptor->kommentar)) : ?> @@ -104,7 +116,7 @@ <th><?= _('Prüfungsleistung') ?></th> <? endif; ?> </tr> - <? foreach ($modulTeile as $modul_teil): ?> + <? foreach ($modulteile as $modul_teil): ?> <tr> <? if ($type === 1): ?> <td> |
