Skip to content
Snippets Groups Projects
Commit 9d5fe00e authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

restore semester info in context title, fixes #2947

Closes #2947

Merge request studip/studip!1986
parent f684be3f
No related branches found
No related tags found
No related merge requests found
......@@ -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) ?>
......
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