alps/plugins/caldav/public/event.html
2020-05-13 14:07:44 +02:00

20 lines
418 B
HTML

{{template "head.html"}}
<h1>alps</h1>
<p>
<a href="/calendar">Back</a>
</p>
{{$event := index .Event.Data.Events 0}}
<h2>Event: {{$event.Props.Text "SUMMARY"}}</h2>
<ul>
<li><strong>Start date</strong>: {{$event.DateTimeStart nil | formatdate}}</li>
<li><strong>End date</strong>: {{$event.DateTimeEnd nil | formatdate}}</li>
</ul>
<pre>{{$event.Props.Text "DESCRIPTION"}}</pre>
{{template "foot.html"}}