aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-11 17:13:35 +0100
committerSimon Ser <contact@emersion.fr>2020-02-11 17:14:43 +0100
commit82304a78d61f14de897fb6dba70f4b17fb396217 (patch)
tree616f48f5d0f7e84c49c5405d5495afa92858da0f /plugins/caldav
parent19548694e08df0c7f9515cfd22759a73f927b9ba (diff)
downloadalps-82304a78d61f14de897fb6dba70f4b17fb396217.tar.gz
alps-82304a78d61f14de897fb6dba70f4b17fb396217.zip
plugins/caldav: add missing event.html template
Diffstat (limited to 'plugins/caldav')
-rw-r--r--plugins/caldav/public/event.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/caldav/public/event.html b/plugins/caldav/public/event.html
new file mode 100644
index 0000000..93f4ccf
--- /dev/null
+++ b/plugins/caldav/public/event.html
@@ -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"}}