From 88b8ce18b0f83e061575bfa115c32b993efa564c Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Mon, 18 Mar 2024 15:34:49 +0100
Subject: [PATCH] calendar/date/index: show location of the date, if present,
 fixes #3828

---
 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