diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-26 02:39:23 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-26 02:39:23 +0200 |
commit | 7212b64adbc58a5dc108721d6e44f88728da3ae9 (patch) | |
tree | f3c8fd1f0b968caff57aa76aa29a1476822f7ae0 /module | |
parent | Fix errors in tests. (diff) | |
download | calp-7212b64adbc58a5dc108721d6e44f88728da3ae9.tar.gz calp-7212b64adbc58a5dc108721d6e44f88728da3ae9.tar.xz |
Month view better colors.
Diffstat (limited to '')
-rw-r--r-- | module/output/html.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 2b8f52a9..4d8ebc05 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -452,9 +452,10 @@ [(day-date . events) `(div (@ (class "cal-cell")) (div (@ (class "date-info " - ,(when (or (date< day-date start-date) - (date< end-date day-date)) - "non-current") + ,(if (or (date< day-date start-date) + (date< end-date day-date)) + "non-current" + "current") )) (span (@ (class "day-number")) ,(date->string day-date "~e")) ,(when (= 1 (day day-date)) |