aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-31 00:39:09 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-31 00:39:09 +0200
commit9608ddbf16e1e798146338e2223dc151caf631e3 (patch)
tree82fba15a1de1e32e76bdac1f54a933cc839cdc8c /module
parentAdd {start,end}-of-week. (diff)
downloadcalp-9608ddbf16e1e798146338e2223dc151caf631e3.tar.gz
calp-9608ddbf16e1e798146338e2223dc151caf631e3.tar.xz
Fix unnamed calendars for table view.
Diffstat (limited to 'module')
-rw-r--r--module/output/html.scm3
1 files changed, 2 insertions, 1 deletions
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