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
1309a8f1
Commit
1309a8f1
authored
Jun 19, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: revert changes in Base_getFormViewDialogActionButtonTitle
parent
1732185c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.xml
...ins/erp5_core/Base_getFormViewDialogActionButtonTitle.xml
+1
-4
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.xml
View file @
1309a8f1
...
@@ -58,12 +58,9 @@ if button_title is not None:\n
...
@@ -58,12 +58,9 @@ if button_title is not None:\n
\n
\n
wf_actions = context.portal_actions.portal_actions.listFilteredActionsFor(context)[\'workflow\']\n
wf_actions = context.portal_actions.portal_actions.listFilteredActionsFor(context)[\'workflow\']\n
workflow_action = request.get(\'workflow_action\', None) or request.get(\'field_my_workflow_action\', None)\n
workflow_action = request.get(\'workflow_action\', None) or request.get(\'field_my_workflow_action\', None)\n
\n
if workflow_action:\n
if workflow_action:\n
for action in wf_actions:\n
for action in wf_actions:\n
# extract action reference from the url predefined\n
if action[\'id\'] == workflow_action:\n
action_reference = action[\'url\'][action[\'url\'].find(\'workflow_action\')+16:]\n
if action_reference == workflow_action:\n
return action[\'name\']\n
return action[\'name\']\n
\n
\n
if workflow_action:\n
if workflow_action:\n
...
...
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