# HG changeset patch # User Paul Boddie # Date 1427465541 -3600 # Node ID e209c910d81d89dfae34ff86f4fd7f590623c6cc # Parent 115d5a16926289e8966c2fede19e544c80023bfa Treat post-instant intervals as busy, hiding them when requested. diff -r 115d5a169262 -r e209c910d81d imipweb/calendar.py --- a/imipweb/calendar.py Fri Mar 27 15:09:12 2015 +0100 +++ b/imipweb/calendar.py Fri Mar 27 15:12:21 2015 +0100 @@ -566,9 +566,12 @@ else: have_active = True + # Emit properties of the time interval, where post-instant intervals + # are also treated as busy. + css = " ".join([ "slot", - have_active and "busy" or have_active_request and "suggested" or "empty", + (have_active or indicator) and "busy" or have_active_request and "suggested" or "empty", continuation and "daystart" or "" ])