plugins/caldav: add missing event.html template

This commit is contained in:
Simon Ser 2020-02-11 17:13:35 +01:00
parent 19548694e0
commit 82304a78d6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -0,0 +1,20 @@
{{template "head.html"}}
<h1>koushin</h1>
<p>
<a href="/calendar">Back</a>
</p>
{{$event := index .Event.Data.Events 0}}
<h2>Event: {{$event.Summary}}</h2>
<ul>
<li><strong>Start date</strong>: {{$event.StartDate | formatdate}}</li>
<li><strong>End date</strong>: {{$event.EndDate | formatdate}}</li>
</ul>
<pre>{{$event.Description}}</pre>
{{template "foot.html"}}