aboutsummaryrefslogtreecommitdiff
path: root/module/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 19:39:37 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 19:39:52 +0200
commitad78b193271abb6df486d3acfd7ab94f51cd101c (patch)
tree5dc061066f266aa650720db56768291f6c4842f9 /module/html/view/calendar.scm
parentHTML Created events now have a description. (diff)
downloadcalp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.gz
calp-ad78b193271abb6df486d3acfd7ab94f51cd101c.tar.xz
Can create events without descriptions again.
Diffstat (limited to 'module/html/view/calendar.scm')
-rw-r--r--module/html/view/calendar.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/html/view/calendar.scm b/module/html/view/calendar.scm
index 4753e1e6..f058d01e 100644
--- a/module/html/view/calendar.scm
+++ b/module/html/view/calendar.scm
@@ -318,7 +318,10 @@
dtstart: (datetime)
dtend: (datetime)
summary: "New Event"
- description: "None yet"))))
+ ;; force a description field,
+ ;; but don't put anything in
+ ;; it.
+ description: ""))))
(event (car (children cal))))
`((div (@ (class "template event-container") (id "event-template")
;; Only needed to create a duration. So actual dates