From d026a2f96a8aa231bbff417f055a17f5e746b6ea Mon Sep 17 00:00:00 2001 From: Moritz Strohm <strohm@data-quest.de> Date: Mon, 18 Mar 2024 14:38:32 +0000 Subject: [PATCH] calendar/date/index: show location of the date, if present, fixes #3828 Closes #3828 Merge request studip/studip!2700 --- app/views/calendar/date/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/calendar/date/index.php b/app/views/calendar/date/index.php index f898f3b60f0..26f28a628b0 100644 --- a/app/views/calendar/date/index.php +++ b/app/views/calendar/date/index.php @@ -55,6 +55,10 @@ <dl> <dt><?= _('Zeit') ?></dt> <dd><?= date('d.m.Y H:i', $date->begin) ?> - <?= date('d.m.Y H:i', $date->end) ?></dd> + <? if ($date->location) : ?> + <dt><?= _('Ort') ?></dt> + <dd><?= formatLinks($date->location) ?></dd> + <? endif ?> <dt><?= _('Kategorie') ?></dt> <dd><?= htmlReady($date->getCategoryAsString()) ?></dd> <dt><?= _('Zugriff') ?></dt> -- GitLab