diff --git a/templates/header.php b/templates/header.php index 3911b207c5c698d77ccb4abaa68850029a9f57d4..4f4b66b97e98acdc90fc1672739ffc5bbbaea5a7 100644 --- a/templates/header.php +++ b/templates/header.php @@ -292,6 +292,9 @@ if ($navigation) { <? if (Context::isCourse()) : ?> <?= Icon::create('seminar', Icon::ROLE_INFO)->asImg(20, ['class' => 'context_icon']) ?> <?= htmlReady(Context::get()->getFullname()) ?> + <? if ($GLOBALS['user']->config->SHOWSEM_ENABLE && !Context::get()->isOpenEnded()): ?> + (<?= htmlReady(Context::get()->getTextualSemester()) ?>) + <? endif ?> <? elseif (Context::isInstitute()) : ?> <?= Icon::create('institute', Icon::ROLE_INFO)->asImg(20, ['class' => 'context_icon']) ?> <?= htmlReady(Context::get()->name) ?>