Commit f5c5b8d6 authored by Jérome Perrin's avatar Jérome Perrin
parents 71e0214d 607e070b
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-with-password</string> </value> <value> <string>credential_request-confirmation-with-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-without-password</string> </value> <value> <string>credential_request-confirmation-without-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-without-password</string> </value> <value> <string>credential_request-confirmation-without-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_recovery-reset-link</string> </value> <value> <string>credential_recovery-reset-link</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_recovery-username</string> </value> <value> <string>credential_recovery-username</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>crendential_recovery-username.en</string> </value> <value> <string>credential_recovery-username.en</string> </value>
</item> </item>
<item> <item>
<key> <string>language</string> </key> <key> <string>language</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>erp5-subscription.notification</string> </value> <value> <string>credential_request-subscription</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>erp5_subscription_notification</string> </value> <value> <string>credential_request-subscription</string> </value>
</item> </item>
<item> <item>
<key> <string>language</string> </key> <key> <string>language</string> </key>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</item> </item>
<item> <item>
<key> <string>property_default</string> </key> <key> <string>property_default</string> </key>
<value> <string>python: \'crendential_recovery-reset-link\'</string> </value> <value> <string>python: \'credential_recovery-reset-link\'</string> </value>
</item> </item>
<item> <item>
<key> <string>write_permission</string> </key> <key> <string>write_permission</string> </key>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</item> </item>
<item> <item>
<key> <string>property_default</string> </key> <key> <string>property_default</string> </key>
<value> <string>python: \'crendential_recovery-username\'</string> </value> <value> <string>python: \'credential_recovery-username\'</string> </value>
</item> </item>
<item> <item>
<key> <string>write_permission</string> </key> <key> <string>write_permission</string> </key>
......
...@@ -12,7 +12,7 @@ if password: ...@@ -12,7 +12,7 @@ if password:
notification_type = "with-password" notification_type = "with-password"
#Get message from catalog #Get message from catalog
notification_reference = 'crendential_request-confirmation-%s' % notification_type notification_reference = 'credential_request-confirmation-%s' % notification_type
notification_message = portal.portal_notifications.getDocumentValue(reference=notification_reference, notification_message = portal.portal_notifications.getDocumentValue(reference=notification_reference,
language=recipient.getLanguage()) language=recipient.getLanguage())
if notification_message is None: if notification_message is None:
......
...@@ -68,7 +68,7 @@ else: ...@@ -68,7 +68,7 @@ else:
after_path_and_method_id=path_and_method_id) after_path_and_method_id=path_and_method_id)
credential_request.activate(**activity_kw).CredentialRequest_sendSubmittedNotification( credential_request.activate(**activity_kw).CredentialRequest_sendSubmittedNotification(
context_url=context.absolute_url(), context_url=context.absolute_url(),
notification_reference='erp5-subscription.notification') notification_reference='credential_request-subscription')
message_str = "Thanks for your registration. You will be receive an email to activate your account." message_str = "Thanks for your registration. You will be receive an email to activate your account."
else: else:
# no email verification is needed # no email verification is needed
......
...@@ -2,5 +2,5 @@ notification_message_module/20100928-1F79 ...@@ -2,5 +2,5 @@ notification_message_module/20100928-1F79
notification_message_module/20100928-212A notification_message_module/20100928-212A
notification_message_module/20100928-7459 notification_message_module/20100928-7459
notification_message_module/20110426-1B7D notification_message_module/20110426-1B7D
notification_message_module/crendential_recovery-username.en notification_message_module/credential_recovery-username.en
notification_message_module/erp5_subscription_notification notification_message_module/credential_request-subscription
\ No newline at end of file \ No newline at end of file
...@@ -2,8 +2,8 @@ notification_message_module/20100928-1F79 ...@@ -2,8 +2,8 @@ notification_message_module/20100928-1F79
notification_message_module/20100928-212A notification_message_module/20100928-212A
notification_message_module/20100928-7459 notification_message_module/20100928-7459
notification_message_module/20110426-1B7D notification_message_module/20110426-1B7D
notification_message_module/crendential_recovery-username.en notification_message_module/credential_recovery-username.en
notification_message_module/erp5_subscription_notification notification_message_module/credential_request-subscription
portal_alarms/accept_submitted_credentials portal_alarms/accept_submitted_credentials
portal_categories/question portal_categories/question
portal_categories/question/credential portal_categories/question/credential
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment