diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-15 11:52:39 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-15 11:52:39 +0200 |
commit | b0f67cc477a984c1088d79d3706fec6947115445 (patch) | |
tree | 91f06c49814c3c8c17bc33804e1067c710c2c56e /module/output/html.scm | |
parent | Work on parser. (diff) | |
download | calp-b0f67cc477a984c1088d79d3706fec6947115445.tar.gz calp-b0f67cc477a984c1088d79d3706fec6947115445.tar.xz |
Fix multi-valued fields.
Diffstat (limited to 'module/output/html.scm')
-rw-r--r-- | module/output/html.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 350bf76d..402d2f07 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -206,7 +206,7 @@ `((class "event CAL_" ,(html-attr (or (attr (parent ev) 'NAME) "unknown")) ,(when (and (attr ev 'PARTSTAT) - (string= "TENTATIVE" (attr ev 'PARTSTAT))) + (eq? 'TENTATIVE (attr ev 'PARTSTAT))) " tentative")) (data-tipped-options ,(format #f "inline: '~a'" popup-id)) ,@(when (debug) (data-attributes ev))))) @@ -399,7 +399,7 @@ `((class "eventtext CAL_bg_" ,(html-attr (or (attr (parent ev) 'NAME) "unknown")) ,(when (and (attr ev 'PARTSTAT) - (string= "TENTATIVE" (attr ev 'PARTSTAT))) + (eq? 'TENTATIVE (attr ev 'PARTSTAT))) " tentative"))))) (h3 ,(fmt-header (when (attr ev 'RRULE) |