From f1d269841eda9e498f14ccb6198de9c2231158f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 10 Jun 2015 09:54:07 +0200
Subject: [PATCH] crm : add unsubscription parameter for notification message

---
 .../NotificationMessage_getSubstitutionMappingDictFromEvent.xml  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/NotificationMessage_getSubstitutionMappingDictFromEvent.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/NotificationMessage_getSubstitutionMappingDictFromEvent.xml
index 7230f12547..ded88ed6c2 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/NotificationMessage_getSubstitutionMappingDictFromEvent.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/NotificationMessage_getSubstitutionMappingDictFromEvent.xml
@@ -64,6 +64,7 @@ def getSubstitutionMappingDict():\n
     source_title=event_value.getSourceTitle() or \'\',\n
     image_parameters = "/Base_openEvent?id=%s&hash=%s" %(event_value.getId(), hmac),\n
     document_parameters = "/Base_readEvent?id=%s&hash=%s" %(event_value.getId(), hmac),\n
+    unsubscribe_parameters = "/Base_unsubscribeFromEvent?id=%s&hash=%s" %(event_value.getId(), hmac),\n
   )\n
   return kw\n
 \n
-- 
2.30.9