Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
3af46cdf
Commit
3af46cdf
authored
Dec 10, 2015
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_credential: Add mapping Dict to subtitution for reset password
parent
01f31089
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
.../NotificationMessage_getSubstitutionFromPasswordReset.xml
+5
-4
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
View file @
3af46cdf
...
...
@@ -57,15 +57,16 @@ Parameters: \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
return
dict(reset_password_link=
reset_password_link,\n
expiration_date=
context.Base_FormatDate(date=expiration_date,\n
hour_minute = True,\n
seconds = False)}\n
seconds = False),\n
**kw)\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
instance_name, reset_password_link, expiration_date
</string>
</value>
<value>
<string>
instance_name, reset_password_link, expiration_date
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
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