aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/calendar.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-13 16:48:03 +0200
committerSimon Ser <contact@emersion.fr>2020-05-13 16:48:03 +0200
commit0191b739969e00cdba0faa5a05159fd5f83d5d9e (patch)
treecb0eed33b7100993acc35a44e18f0085fe98822b /plugins/caldav/public/calendar.html
parent59547f7fb7ba0b7cf264ad8bde164aae89a23b5e (diff)
downloadalps-0191b739969e00cdba0faa5a05159fd5f83d5d9e.tar.gz
alps-0191b739969e00cdba0faa5a05159fd5f83d5d9e.zip
plugins/caldav: switch to path-based URLs
UIDs are not first-class WebDAV citizens and would require two roundtrips for most operations.
Diffstat (limited to 'plugins/caldav/public/calendar.html')
-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 7787bb1..8a0a390 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.Props.Text "UID" | pathescape}}">{{$event.Props.Text "SUMMARY"}}</a>
+ <a href="/calendar/{{$event.Path | pathescape}}">{{$event.Props.Text "SUMMARY"}}</a>
({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
</li>
{{end}}