Skip to content
Snippets Groups Projects
Commit 7bc44551 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

fixes #424

parent f7e67cce
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
<?= htmlReady($course->name) ?> <?= htmlReady($course->name) ?>
</a> </a>
<div class="icons"> <div class="icons">
<ul class="my-courses-navigation">
<? foreach ($icons as $icon) : ?> <? foreach ($icons as $icon) : ?>
<a href="<?= URLHelper::getLink("seminar_main.php", ['auswahl' => $course->getId(), 'redirect_to' => $icon->getURL()]) ?>"<?= $icon->getTitle() ? ' title="'.htmlReady($icon->getTitle()).'"' : "" ?>> <li class="my-courses-navigation-item <? if ($icon->getImage()->signalsAttention()) echo 'my-courses-navigation-important'; ?>">
<?= $icon->getImageTag() ?> <a href="<?= URLHelper::getLink("seminar_main.php", ['auswahl' => $course->getId(), 'redirect_to' => $icon->getURL()]) ?>"<?= $icon->getTitle() ? ' title="'.htmlReady($icon->getTitle()).'"' : "" ?>>
</a> <?= $icon->getImage()->asImg(20) ?>
</a>
</li>
<? endforeach ?> <? endforeach ?>
</ul>
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment