aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-12 14:04:31 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-12 14:04:31 +0200
commit002787fd54d7e7b5dc2965e164691f85cccc3953 (patch)
tree32af688f123ecff85bd8cd739d219b2f60889648 /module
parentEvent edit within calendar now works. (diff)
downloadcalp-002787fd54d7e7b5dc2965e164691f85cccc3953.tar.gz
calp-002787fd54d7e7b5dc2965e164691f85cccc3953.tar.xz
Can create events in different calentdars, given that the calendars have simple names.
Diffstat (limited to 'module')
-rw-r--r--module/html/vcomponent.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/html/vcomponent.scm b/module/html/vcomponent.scm
index fdaea217..5e7b4ba8 100644
--- a/module/html/vcomponent.scm
+++ b/module/html/vcomponent.scm
@@ -142,6 +142,7 @@
(div (@ ,@(assq-merge
extra-attributes
`((id ,(html-id ev))
+ (data-calendar ,(html-attr (or (prop (parent ev) 'NAME) "unknown")))
(class "event CAL_" ,(html-attr (or (prop (parent ev) 'NAME)
"unknown"))
,(when (and (prop ev 'PARTSTAT)