diff options
Diffstat (limited to 'plugins/caldav/public/event.html')
-rw-r--r-- | plugins/caldav/public/event.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/caldav/public/event.html b/plugins/caldav/public/event.html index 93f4ccf..8c88833 100644 --- a/plugins/caldav/public/event.html +++ b/plugins/caldav/public/event.html @@ -8,13 +8,13 @@ {{$event := index .Event.Data.Events 0}} -<h2>Event: {{$event.Summary}}</h2> +<h2>Event: {{$event.Props.Text "SUMMARY"}}</h2> <ul> - <li><strong>Start date</strong>: {{$event.StartDate | formatdate}}</li> - <li><strong>End date</strong>: {{$event.EndDate | formatdate}}</li> + <li><strong>Start date</strong>: {{$event.DateTimeStart nil | formatdate}}</li> + <li><strong>End date</strong>: {{$event.DateTimeEnd nil | formatdate}}</li> </ul> -<pre>{{$event.Description}}</pre> +<pre>{{$event.Props.Text "DESCRIPTION"}}</pre> {{template "foot.html"}} |