diff --git a/templates/blubber/course_context.php b/templates/blubber/course_context.php index b8a08bdae65530d1c9ec0162339c367efa01455e..f5aca3258af60c8d84462e029cb15bce5e296ab6 100644 --- a/templates/blubber/course_context.php +++ b/templates/blubber/course_context.php @@ -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>