diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-11 17:19:37 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-11 17:19:37 +0200 |
commit | 5a91457a5b8595969957cd6676afc2fff858251e (patch) | |
tree | e6204e1c70e41d66a715e27dbf0099c97fe838a0 /module/html/vcomponent.scm | |
parent | Remove week-start from (html view calendar) (again?) (diff) | |
download | calp-5a91457a5b8595969957cd6676afc2fff858251e.tar.gz calp-5a91457a5b8595969957cd6676afc2fff858251e.tar.xz |
HTML Created events now have a description.
Unfortunately they ALWAYS have a description.
Diffstat (limited to '')
-rw-r--r-- | module/html/vcomponent.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/html/vcomponent.scm b/module/html/vcomponent.scm index f9c24ecd..ca8a81c2 100644 --- a/module/html/vcomponent.scm +++ b/module/html/vcomponent.scm @@ -78,8 +78,9 @@ (div (@ (class "location")) ,(string-map (lambda (c) (if (char=? c #\,) #\newline c)) (prop ev 'LOCATION))))) - ,(and=> (prop ev 'DESCRIPTION) - (lambda (str) (format-description ev str))) + ,(awhen (prop ev 'DESCRIPTION) + `(span (@ (class "description")) + ,(format-description ev it))) ,(awhen (prop ev 'RRULE) `(span (@ (class "rrule")) ,@(format-recurrence-rule ev))) |