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