From 9608ddbf16e1e798146338e2223dc151caf631e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 31 Mar 2020 00:39:09 +0200 Subject: Fix unnamed calendars for table view. --- module/output/html.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module') diff --git a/module/output/html.scm b/module/output/html.scm index 454f9dc4..413b3ca8 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -335,7 +335,8 @@ `(a (@ (href "#" ,(UID event)) (class "hidelink")) (div (@ (class "inline-event CAL_" - ,(html-attr (attr (parent event) 'NAME)))) + ;; TODO centralize handling of unnamed calendars once again. + ,(html-attr (or (attr (parent event) 'NAME) "unnamed")))) ,((summary-filter) event (attr event 'SUMMARY))))) ;; (stream event-group) -> sxml -- cgit v1.2.3