From a80de98c7a07489ca0c45dfcba8546066936835a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Tue, 30 Aug 2011 13:57:43 +0200 Subject: [PATCH] add notification message for username recovery --- .../crendential_recovery-username.en.xml | 113 ++++++++++++++++++ bt5/erp5_credential/bt/revision | 2 +- bt5/erp5_credential/bt/template_path_list | 1 + 3 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_credential/PathTemplateItem/notification_message_module/crendential_recovery-username.en.xml diff --git a/bt5/erp5_credential/PathTemplateItem/notification_message_module/crendential_recovery-username.en.xml b/bt5/erp5_credential/PathTemplateItem/notification_message_module/crendential_recovery-username.en.xml new file mode 100644 index 0000000000..cad55c1248 --- /dev/null +++ b/bt5/erp5_credential/PathTemplateItem/notification_message_module/crendential_recovery-username.en.xml @@ -0,0 +1,113 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Notification Message" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> <string>e34011513b3c44070782f2d5024c780c</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/plain</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>crendential_recovery-username</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>crendential_recovery-username.en</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Notification Message</string> </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string>You (or someone else) has requested your username(s).\n +---------------------------------------------------------------------\n +Your username(s) are:\n +${usernames}\n +\n +</string> </value> + </item> + <item> + <key> <string>text_content_substitution_mapping_method_id</string> </key> + <value> <string>NotificationMessage_getSubstitutionMappingDictFromArgument</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>[ERP5] Username Recovery</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_credential/bt/revision b/bt5/erp5_credential/bt/revision index 116f2e3e62..c0db21d808 100644 --- a/bt5/erp5_credential/bt/revision +++ b/bt5/erp5_credential/bt/revision @@ -1 +1 @@ -391 \ No newline at end of file +392 \ No newline at end of file diff --git a/bt5/erp5_credential/bt/template_path_list b/bt5/erp5_credential/bt/template_path_list index 1d23f5edff..c8fedefaf8 100644 --- a/bt5/erp5_credential/bt/template_path_list +++ b/bt5/erp5_credential/bt/template_path_list @@ -2,6 +2,7 @@ notification_message_module/20100928-1F79 notification_message_module/20100928-212A notification_message_module/20100928-7459 notification_message_module/20110426-1B7D +notification_message_module/crendential_recovery-username.en notification_message_module/erp5_subscription_notification portal_alarms/accept_submitted_credentials portal_categories/question -- 2.30.9