Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Papa Tamsir Kane
erp5
Commits
e0da07cb
Commit
e0da07cb
authored
Jun 27, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove blank spaces
parent
3f46cd13
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
10 deletions
+11
-10
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
...5_credential/CredentialRecovery_sendPasswordResetLink.xml
+2
-2
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_checkLoginAvailability.xml
...5_credential/CredentialRequest_checkLoginAvailability.xml
+0
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createPersonAndAssignment.xml
...redential/CredentialRequest_createPersonAndAssignment.xml
+1
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createUser.xml
...al_skins/erp5_credential/CredentialRequest_createUser.xml
+1
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_getPropertyFromAuthenticatedMemberSubordinationValue.xml
..._getPropertyFromAuthenticatedMemberSubordinationValue.xml
+2
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
.../NotificationMessage_getSubstitutionFromPasswordReset.xml
+4
-3
bt5/erp5_credential/bt/revision
bt5/erp5_credential/bt/revision
+1
-1
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
View file @
e0da07cb
...
...
@@ -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>
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_checkLoginAvailability.xml
View file @
e0da07cb
...
...
@@ -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
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createPersonAndAssignment.xml
View file @
e0da07cb
...
...
@@ -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>
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createUser.xml
View file @
e0da07cb
...
...
@@ -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
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_getPropertyFromAuthenticatedMemberSubordinationValue.xml
View file @
e0da07cb
...
...
@@ -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
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
View file @
e0da07cb
...
...
@@ -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
...
...
bt5/erp5_credential/bt/revision
View file @
e0da07cb
356
\ No newline at end of file
357
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment