[Erp5-report] r38728 fabien - in /experimental/bt5/erp5_credential: SkinTemplateItem/portal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 28 16:10:48 CEST 2010
Author: fabien
Date: Tue Sep 28 16:10:44 2010
New Revision: 38728
URL: http://svn.erp5.org?rev=38728&view=rev
Log:
proxification to allow anonymous to send notification and fix a mistake (call getPreferredLoginAndPasswordNotifier on portal_preferences instead of context)
Modified:
experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_sendAcceptedNotification.xml
experimental/bt5/erp5_credential/bt/revision
Modified: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_sendAcceptedNotification.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_sendAcceptedNotification.xml?rev=38728&r1=38727&r2=38728&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_sendAcceptedNotification.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_sendAcceptedNotification.xml [utf8] Tue Sep 28 16:10:44 2010
@@ -50,7 +50,8 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>"""Send an email (after accept a credential request"""\n
+ <value> <string>"""Send an email (after accept a credential request\n
+Proxy: Assignee, Assignor, Member -- allow to send notification by mail"""\n
""""Exemple of notification message\n
Congratulation, the creation of you new Instance Name account \'${login_name}\' is finished.\\nYour password is \'${login_password}\'\\nThank you"))\n
\n
@@ -85,7 +86,7 @@ portal.portal_notifications.sendMessage(
subject=notification_message.getTitle(),\n
message=mail_text,\n
message_text_format=notification_message.getTextFormat(),\n
- notifier_list=(context.getPreferredLoginAndPasswordNotifier(),),\n
+ notifier_list=(portal.portal_preferences.getPreferredLoginAndPasswordNotifier(),),\n
store_as_event=True,\n
event_keyword_argument_dict={\'follow_up\':context.getRelativeUrl()},\n
)\n
@@ -102,6 +103,16 @@ portal.portal_notifications.sendMessage(
<value> <string>login,password</string> </value>
</item>
<item>
+ <key> <string>_proxy_roles</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Member</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
<key> <string>errors</string> </key>
<value>
<tuple/>
Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=38728&r1=38727&r2=38728&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Tue Sep 28 16:10:44 2010
@@ -1 +1 @@
-207
\ No newline at end of file
+208
\ No newline at end of file
More information about the Erp5-report
mailing list