summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-04-14 11:39:24 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-04-14 11:39:24 +0200
commite817182da578df2523378bf31837e2ed70db9372 (patch)
treeac6bb663a0a8c1a211321f7a8351d85c3def8ccb /wallace
parentcd51586559ec5367f88862650fd391c20e859b71 (diff)
downloadpykolab-e817182da578df2523378bf31837e2ed70db9372.tar.gz
Add note to cancellation notification body that it's for single occurrence when it is (#5375)
Summary: Fixes #5375 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Differential Revision: https://git.kolab.org/D124
Diffstat (limited to 'wallace')
-rw-r--r--wallace/module_invitationpolicy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index c737a77..89b373d 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -1274,6 +1274,9 @@ def send_cancel_notification(object, receiving_user, deleted=False):
else:
message_text += " " + _("The copy in your calendar has been marked as cancelled accordingly.")
+ if object.get_recurrence_id():
+ message_text += "\n" + _("NOTE: This cancellation only refers to this single occurrence!")
+
message_text += "\n\n" + _("*** This is an automated message. Please do not reply. ***")
# compose mime message