Commit e0da07cb authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove blank spaces

parent 3f46cd13
......@@ -62,9 +62,9 @@ notification_message = portal.NotificationTool_getDocumentValue("crendential_rec
\n
context.REQUEST.set(\'came_from\', context.getUrlString())\n
\n
portal.portal_password.mailPasswordResetRequest(user_login=reference, \n
portal.portal_password.mailPasswordResetRequest(user_login=reference,\n
REQUEST=context.REQUEST,\n
notification_message = notification_message)\n
notification_message=notification_message)\n
</string> </value>
</item>
<item>
......
......@@ -79,7 +79,6 @@ if context.getPortalType() == "Credential Request":\n
if related_person.getReference() == value:\n
return True\n
\n
\n
#check no pending credential request with this user name\n
#Don\'t take in case the current credential \n
module = context.getDefaultModule("Credential Request")\n
......
......@@ -84,7 +84,7 @@ login, password = context.CredentialRequest_createUser()\n
context.CredentialRequest_updateLocalRolesOnSecurityGroups()\n
\n
# Send notification in activities\n
context.activate(activity=\'SQLQueue\').CredentialRequest_sendAcceptedNotification(login,password)\n
context.activate(activity=\'SQLQueue\').CredentialRequest_sendAcceptedNotification(login, password)\n
</string> </value>
</item>
<item>
......
......@@ -60,7 +60,7 @@ if REQUEST:\n
person = context.getDestinationDecisionValue(portal_type="Person")\n
\n
# Create user of the person only if not exist\n
if person.hasReference() and person.getPassword(): \n
if person.hasReference() and person.getPassword():\n
return person.getReference(), None\n
\n
# Set login\n
......
......@@ -52,7 +52,8 @@
<key> <string>_body</string> </key>
<value> <string>"""Get property on the Organisation of current user\n
Parameter:\n
property_name -- property to get, Mandatory (String, Example: "title")"""\n
property_name -- property to get, Mandatory (String, Example: \'title\')\n
"""\n
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
if person is not None:\n
organisation = person.getDefaultCareerSubordinationValue()\n
......
......@@ -53,9 +53,10 @@
<value> <string>"""Use information given in the method mailPasswordResetRequest of Password Tool\n
to build a substitution mapping dict. \n
Parameters: \n
instance_name -- Current erp5 portal title\n
reset_password_link -- Url to reset the password\n
expiration_date -- Expiration Datetime of the link"""\n
instance_name -- Current erp5 portal title\n
reset_password_link -- Url to reset the password\n
expiration_date -- Expiration Datetime of the link\n
"""\n
return {\'reset_password_link\':reset_password_link,\n
\'expiration_date\': context.Base_FormatDate(date=expiration_date,\n
hour_minute = True,\n
......
356
\ No newline at end of file
357
\ No newline at end of file
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