aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-18 08:39:45 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-18 08:39:45 +0200
commit323374dd52eab0d152bf4af464d3096597364bd5 (patch)
tree1896f86e3cf7c21d3c7d3496de244018e8bc7bda
parentHopefully repaired --update-zoneinfo.- (diff)
downloadcalp-323374dd52eab0d152bf4af464d3096597364bd5.tar.gz
calp-323374dd52eab0d152bf4af464d3096597364bd5.tar.xz
EDIT_MODE correctly exported from view/calendar.
-rw-r--r--module/html/view/calendar.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/html/view/calendar.scm b/module/html/view/calendar.scm
index a6b39755..aa67220c 100644
--- a/module/html/view/calendar.scm
+++ b/module/html/view/calendar.scm
@@ -93,8 +93,7 @@
(meta (@ (name end-time)
(content ,(date->string (date+ end-date (date day: 1)) "~s"))))
- (script
- "EDIT_MODE=true;")
+ (script "EDIT_MODE=" ,(if (edit-mode) "true" "false") ";")
(style ,(format #f "html {
--editmode: 1.0;