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

fixes #424

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