diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /app/views/profile | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/views/profile')
| -rw-r--r-- | app/views/profile/index.php | 6 | ||||
| -rw-r--r-- | app/views/profile/seminare.php | 25 |
2 files changed, 16 insertions, 15 deletions
diff --git a/app/views/profile/index.php b/app/views/profile/index.php index 82a001a..9b7cb4f 100644 --- a/app/views/profile/index.php +++ b/app/views/profile/index.php @@ -83,11 +83,9 @@ </section> -<?= $news ?> +<?= $news ?? '' ?> -<?= $dates ?> - -<?= $evaluations ?? '' ?> +<?= $dates ?? '' ?> <?= $questionnaires ?? '' ?> diff --git a/app/views/profile/seminare.php b/app/views/profile/seminare.php index b218eca..1d1c7c7 100644 --- a/app/views/profile/seminare.php +++ b/app/views/profile/seminare.php @@ -6,17 +6,20 @@ </header> <section> - <? foreach ($seminare as $semester => $seminar) :?> - <b><?= htmlReady($semester) ?></b><br> - - <? foreach ($seminar as $one) :?> - <a href="<?= URLHelper::getScriptLink('dispatch.php/course/details', ['sem_id' => $one->id])?>"> - <?= htmlReady($one->getFullName('number-name')) ?> - <? if ($one->start_semester !== $one->end_semester) : ?> - (<?= htmlReady($one->getFullName('sem-duration-name')) ?>) - <? endif ?> - </a><br> + <? foreach ($seminare as $semester => $seminar) : ?> + <b><?= htmlReady($semester) ?></b><br> + <ul class="clean"> + <? foreach ($seminar as $one) : ?> + <li> + <a href="<?= URLHelper::getScriptLink('dispatch.php/course/details', ['sem_id' => $one->id])?>"> + <?= htmlReady($one->getFullName('number-name')) ?> + <? if ($one->start_semester !== $one->end_semester) : ?> + (<?= htmlReady($one->getFullName('sem-duration-name')) ?>) + <? endif ?> + </a> + </li> <?endforeach?> + </ul> <?endforeach?> </section> -</article>
\ No newline at end of file +</article> |
