From b0f67cc477a984c1088d79d3706fec6947115445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 15 Jun 2020 11:52:39 +0200 Subject: Fix multi-valued fields. --- module/output/html.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/output/html.scm') 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) -- cgit v1.2.3