Changeset 4802e24b293e0ba1b10bc1b837398d33044dfe91 in indico
- Timestamp:
- 02/21/12 10:48:06 (3 months ago)
- Children:
- a0940416a80f2ac3b297b4ee91531abf54837d7e
- Parents:
- 06d73287ec3c85549d37606cc0f2cb35962feafd
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (02/21/12 10:48:06)
- File:
-
- 1 edited
-
indico/MaKaC/plugins/RoomBooking/components.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/RoomBooking/components.py
r18c3cb r4802e2 51 51 def catalogIndexProvider(self, obj): 52 52 return [('user_room', RoomManagerIndex)] 53 54 55 class ReservationStartEndNotificationListener(Component):56 implements(IReservationListener)57 58 def reservationCreated(self, resv):59 if getRoomBookingOption('notificationEnabled'):60 resv.getStartEndNotification().resvCreated()61 62 def reservationUpdated(self, resv):63 if getRoomBookingOption('notificationEnabled'):64 resv.getStartEndNotification().resvUpdated()65 66 def reservationDeleted(self, resv):67 pass68 69 70 class ReservationStartEndEmailListener(Component):71 implements(IReservationStartStopListener)72 73 def reservationStarted(self, obj, resv):74 sendReservationStartStopNotification(resv, 'start')75 76 def reservationFinished(self, obj, resv):77 sendReservationStartStopNotification(resv, 'end')
Note: See TracChangeset
for help on using the changeset viewer.
