1.1 --- a/imipweb/calendar.py Mon Nov 02 22:00:26 2015 +0100
1.2 +++ b/imipweb/calendar.py Tue Nov 03 18:30:31 2015 +0100
1.3 @@ -728,6 +728,8 @@
1.4
1.5 page.colgroup(span=1, id="columns-timeslot")
1.6
1.7 + # Make column groups at least two cells wide.
1.8 +
1.9 for group_type, columns in zip(group_types, group_columns):
1.10 page.colgroup(span=max(columns, 2), id="columns-%s" % group_type)
1.11
1.12 @@ -891,6 +893,10 @@
1.13 # Obtain slots for the time point from each group.
1.14
1.15 for columns, slots, group_type in zip(group_columns, groups, group_types):
1.16 +
1.17 + # Make column groups at least two cells wide.
1.18 +
1.19 + columns = max(columns, 2)
1.20 active = slots and slots.get(point)
1.21
1.22 # Where no periods exist for the given time interval, generate