diff options
author | Simon Ser <contact@emersion.fr> | 2020-02-25 19:24:35 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-02-25 19:24:35 +0100 |
commit | 4bb0ded2d91a4d68753d5bf730b16f0a5db206b6 (patch) | |
tree | c82062e1d5dcda1ba9527ec7a41b4500a9d6f060 /themes | |
parent | 6c36ab6de2216812ad59aa7cc8c8021c3a976b6f (diff) | |
download | alps-4bb0ded2d91a4d68753d5bf730b16f0a5db206b6.tar.gz alps-4bb0ded2d91a4d68753d5bf730b16f0a5db206b6.zip |
plugins/caldav: update go-webdav
Diffstat (limited to 'themes')
-rw-r--r-- | themes/sourcehut/calendar.html | 6 | ||||
-rw-r--r-- | themes/sourcehut/event.html | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/themes/sourcehut/calendar.html b/themes/sourcehut/calendar.html index 987e716..ec15ae8 100644 --- a/themes/sourcehut/calendar.html +++ b/themes/sourcehut/calendar.html @@ -30,10 +30,10 @@ <li class="nav-item"> <a class="nav-link" - href="/calendar/{{$event.UID | pathescape}}" + href="/calendar/{{$event.Props.Text "UID" | pathescape}}" > - {{$event.Summary}} - ({{$event.StartDate | formatdate}} — {{$event.EndDate | formatdate}}) + {{$event.Props.Text "SUMMARY"}} + ({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}}) </a> </li> {{end}} diff --git a/themes/sourcehut/event.html b/themes/sourcehut/event.html index 6290742..a298ce1 100644 --- a/themes/sourcehut/event.html +++ b/themes/sourcehut/event.html @@ -6,7 +6,7 @@ <div class="container-fluid"> <div class="row"> <div class="col-md-12 header-tabbed"> - <h2>{{$event.Summary}}</h2> + <h2>{{$event.Props.Text "SUMMARY"}}</h2> <ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link active" href="#">View</a> @@ -27,11 +27,11 @@ <div class="container"> <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> </div> {{template "foot.html"}} |