1.1 --- a/imip_manager.py Mon Feb 09 23:22:31 2015 +0100
1.2 +++ b/imip_manager.py Mon Feb 09 23:30:01 2015 +0100
1.3 @@ -888,6 +888,24 @@
1.4 page.tbody.close()
1.5 page.table.close()
1.6
1.7 + self.show_conflicting_events(uid, obj)
1.8 + self.show_request_controls(obj)
1.9 +
1.10 + page.form.close()
1.11 +
1.12 + def show_conflicting_events(self, uid, obj):
1.13 +
1.14 + """
1.15 + Show conflicting events for the object having the given 'uid' and
1.16 + representation 'obj'.
1.17 + """
1.18 +
1.19 + page = self.page
1.20 +
1.21 + # Obtain the user's timezone.
1.22 +
1.23 + tzid = self.get_tzid()
1.24 +
1.25 dtstart = format_datetime(obj.get_utc_datetime("DTSTART"))
1.26 dtend = format_datetime(obj.get_utc_datetime("DTEND"))
1.27
1.28 @@ -949,9 +967,6 @@
1.29 page.tbody.close()
1.30 page.table.close()
1.31
1.32 - self.show_request_controls(obj)
1.33 - page.form.close()
1.34 -
1.35 def show_requests_on_page(self):
1.36
1.37 "Show requests for the current user."