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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
bcae45dd
Commit
bcae45dd
authored
Sep 11, 2019
by
Valentin Benozillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: Add action title field
parent
299a5d6e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
...kins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
+3
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.py
...plateItem/portal_skins/erp5_core/ERP5Site_createModule.py
+2
-0
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
View file @
bcae45dd
...
@@ -17,4 +17,7 @@ if workflow_action:
...
@@ -17,4 +17,7 @@ if workflow_action:
message
=
translateString
(
"Workflow state may have been updated by other user. Please try again."
)
message
=
translateString
(
"Workflow state may have been updated by other user. Please try again."
)
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
message
})
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
message
})
if
form
.
action_title
:
return
form
.
action_title
return
form
.
title
return
form
.
title
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.py
View file @
bcae45dd
...
@@ -60,6 +60,7 @@ form.manage_settings(
...
@@ -60,6 +60,7 @@ form.manage_settings(
field_name
=
form
.
name
,
field_name
=
form
.
name
,
field_description
=
form
.
description
,
field_description
=
form
.
description
,
field_action
=
'Base_doSelect'
,
field_action
=
'Base_doSelect'
,
field_action_title
=
form
.
action_title
,
field_update_action
=
form
.
update_action
,
field_update_action
=
form
.
update_action
,
field_update_action_title
=
form
.
update_action_title
,
field_update_action_title
=
form
.
update_action_title
,
field_enctype
=
form
.
enctype
,
field_enctype
=
form
.
enctype
,
...
@@ -101,6 +102,7 @@ form.manage_settings(
...
@@ -101,6 +102,7 @@ form.manage_settings(
field_name
=
form
.
name
,
field_name
=
form
.
name
,
field_description
=
form
.
description
,
field_description
=
form
.
description
,
field_action
=
'Base_edit'
,
field_action
=
'Base_edit'
,
field_action_title
=
form
.
action_title
,
field_update_action
=
form
.
update_action
,
field_update_action
=
form
.
update_action
,
field_update_action_title
=
form
.
update_action_title
,
field_update_action_title
=
form
.
update_action_title
,
field_enctype
=
form
.
enctype
,
field_enctype
=
form
.
enctype
,
...
...
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