aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-10-03 21:54:30 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-10-03 21:54:30 +0200
commit4cf9587a5188e5853bbcf97b71109e7cb9331d9f (patch)
treef6f36930e263f3fee450a700b8e77da667c1afa9 /module/calp/html/view/calendar.scm
parentFurther work, rework popup. (diff)
downloadcalp-4cf9587a5188e5853bbcf97b71109e7cb9331d9f.tar.gz
calp-4cf9587a5188e5853bbcf97b71109e7cb9331d9f.tar.xz
work
Diffstat (limited to 'module/calp/html/view/calendar.scm')
-rw-r--r--module/calp/html/view/calendar.scm15
1 files changed, 3 insertions, 12 deletions
diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm
index f447773d..dfcd2264 100644
--- a/module/calp/html/view/calendar.scm
+++ b/module/calp/html/view/calendar.scm
@@ -269,18 +269,9 @@
(or (prop (parent event) 'NAME) ""))))))))
,(prop calendar 'NAME))))
calendars))
- (div (@ (id "calendar-dropdown-template") (class "template"))
- (select
- (option "- Choose a Calendar -")
- ,@(let ((dflt (get-config 'default-calendar)))
- (map (lambda (calendar)
- (define name (prop calendar 'NAME))
- `(option (@ (value ,(html-attr name))
- ,@(when (string=? name dflt)
- '((selected))))
- ,name))
- calendars)))
- )))
+ ;; (div (@ (id "calendar-dropdown-template") (class "template"))
+ ;; )
+ ))
;; List of events
(div (@ (class "eventlist")