aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/event.html
blob: de755d8f2060381c356d991d4302556aeac36df9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{template "head.html" .}}

<h1>alps</h1>

<p>
  <a href="/calendar">Back</a>
  · <a href="{{.Event.URL}}/update">Edit</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"}}