aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-13 17:10:21 +0200
committerSimon Ser <contact@emersion.fr>2020-05-13 17:10:21 +0200
commitee5ce517d1bfdb2935c1e28b505196c6d4a2bfc6 (patch)
treeea793a986276c173f1de8a4b62522ac7aa1b5b05 /plugins/caldav/public
parent3d1f278fae716b37fa6a4b8bdf52d21dba371cc5 (diff)
downloadalps-ee5ce517d1bfdb2935c1e28b505196c6d4a2bfc6.tar.gz
alps-ee5ce517d1bfdb2935c1e28b505196c6d4a2bfc6.zip
plugins/caldav: introduce helper CalendarObject type
Diffstat (limited to 'plugins/caldav/public')
-rw-r--r--plugins/caldav/public/calendar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/caldav/public/calendar.html b/plugins/caldav/public/calendar.html
index c23c555..1cae979 100644
--- a/plugins/caldav/public/calendar.html
+++ b/plugins/caldav/public/calendar.html
@@ -14,7 +14,7 @@
{{range .Events}}
{{$event := index .Data.Events 0}}
<li>
- <a href="/calendar/{{$event.Path | pathescape}}">{{$event.Props.Text "SUMMARY"}}</a>
+ <a href="{{$event.URL}}">{{$event.Props.Text "SUMMARY"}}</a>
({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
</li>
{{end}}