plugins/caldav: add missing event.html template
This commit is contained in:
parent
19548694e0
commit
82304a78d6
1 changed files with 20 additions and 0 deletions
20
plugins/caldav/public/event.html
Normal file
20
plugins/caldav/public/event.html
Normal 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"}}
|
Loading…
Reference in a new issue