diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-01-28 13:07:05 -0500 |
---|---|---|
committer | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-02-25 11:57:22 -0500 |
commit | de9a0666a8856e42d227754f6dc3915f6928af4c (patch) | |
tree | 23507abdad738ab02907305e02e8b59322ee80d3 /src/notifier/manager.py | |
parent | f54fc52fb6d137aabd00d16cb35a608456ac4bbc (diff) |
Update Inbox Featureset
Inbox now supports marking unread, marking for deletion,
and has a new UI
Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'src/notifier/manager.py')
-rw-r--r-- | src/notifier/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifier/manager.py b/src/notifier/manager.py index f03c2cc..240cf85 100644 --- a/src/notifier/manager.py +++ b/src/notifier/manager.py @@ -18,13 +18,13 @@ class NotificationHandler(object): @classmethod def notify_new_booking(cls, booking): template = "notifier/new_booking.html" - titles = ["You have a new Booking", "You have been added to a Booking"] + titles = ["You have a new booking (" + str(booking.id) + ")", "You have been added to a booking (" + str(booking.id) + ")"] cls.booking_notify(booking, template, titles) @classmethod def notify_booking_end(cls, booking): template = "notifier/end_booking.html" - titles = ["Your booking has ended", "A booking you collaborate on has ended"] + titles = ["Your booking (" + str(booking.id) + ") has ended", "A booking (" + str(booking.id) + ") that you collaborate on has ended"] cls.booking_notify(booking, template, titles) @classmethod |