diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2025-01-09 10:23:29 +0000 |
|---|---|---|
| committer | Arne Schröder <schroeder@data-quest.de> | 2025-01-22 12:11:47 +0000 |
| commit | b00fd0bd5650d1fda2a9486ffca6481eeedbac57 (patch) | |
| tree | 685de0f9285e220268f73662ae50171ecc8c4d6d | |
| parent | bd81798ca683f647b80c0b16247bbd6ffeb1a869 (diff) | |
fixed spacing for schedule title and page title content, re #5036
Merge request studip/studip!3819
| -rw-r--r-- | app/controllers/calendar/schedule.php | 9 | ||||
| -rw-r--r-- | app/views/calendar/schedule/index.php | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/app/controllers/calendar/schedule.php b/app/controllers/calendar/schedule.php index 4e48806..f20a640 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 d18ddbf..325fcda 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 ?> |
