# HG changeset patch # User Paul Boddie # Date 1301764070 -7200 # Node ID ffa908a396010e4b2d749652e66ccebf415152e9 # Parent 1ded102b199362bea640b97d779c8dd77f61c505 Encapsulate the calendar output. diff -r 1ded102b1993 -r ffa908a39601 macros/EventAggregator.py --- a/macros/EventAggregator.py Mon Mar 14 21:31:15 2011 +0100 +++ b/macros/EventAggregator.py Sat Apr 02 19:07:50 2011 +0200 @@ -1164,6 +1164,8 @@ output = [] + output.append(fmt.div(on=1, css_class="event-calendar")) + # Output download controls. output.append(fmt.div(on=1, css_class="event-controls")) @@ -1447,6 +1449,10 @@ output.append(view.writeViewControls()) output.append(fmt.div(on=0)) + # Close the calendar region. + + output.append(fmt.div(on=0)) + return ''.join(output) # vim: tabstop=4 expandtab shiftwidth=4