diff --git a/app/controllers/calendar/schedule.php b/app/controllers/calendar/schedule.php index 4e4880628bc25261635d0f00d36681b83a2482c0..f20a64087d5dd31de18eab9b0f8f72f907c993bc 100644 --- a/app/controllers/calendar/schedule.php +++ b/app/controllers/calendar/schedule.php @@ -55,6 +55,15 @@ class Calendar_ScheduleController extends AuthenticatedController } } + if ($this->semester) { + PageLayout::setTitle( + studip_interpolate( + _('Mein Stundenplan im %{semester}'), + ['semester' => $this->semester->name] + ) + ); + } + //Build the sidebar: $sidebar = Sidebar::get(); diff --git a/app/views/calendar/schedule/index.php b/app/views/calendar/schedule/index.php index d18ddbf3418fe189e0dd275559b4a5f8a8ad4fa3..325fcda911e03af78af9d00050d44945bddaa179 100644 --- a/app/views/calendar/schedule/index.php +++ b/app/views/calendar/schedule/index.php @@ -5,11 +5,11 @@ */ ?> <? if ($semester) : ?> - <h2> + <h1> <?= studip_interpolate( _('Mein Stundenplan im %{semester}'), ['semester' => $semester->name] ) ?> - </h2> + </h1> <? endif ?> <?= $fullcalendar ?>