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
Łukasz Nowak
erp5
Commits
efebf67b
Commit
efebf67b
authored
Mar 04, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_manifest: add missing methods
parent
5314a7a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
187 additions
and
151 deletions
+187
-151
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.js
...st/PathTemplateItem/web_page_module/gadget_manifest_js.js
+24
-0
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml
...t/PathTemplateItem/web_page_module/gadget_manifest_js.xml
+163
-151
No files found.
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.js
View file @
efebf67b
...
@@ -288,6 +288,30 @@
...
@@ -288,6 +288,30 @@
}
}
return
param_list
;
return
param_list
;
})
})
.
allowPublicAcquisition
(
"
translate
"
,
function
(
param_list
)
{
if
(
this
.
setLanguage
)
{
return
this
.
getDeclaredGadget
(
"
translate
"
)
.
push
(
function
(
translation_gadget
)
{
return
translation_gadget
.
translate
.
apply
(
translation_gadget
,
param_list
);
});
}
return
param_list
;
})
.
allowPublicAcquisition
(
"
getTranslationList
"
,
function
(
param_list
)
{
if
(
this
.
setLanguage
)
{
return
this
.
getDeclaredGadget
(
"
translate
"
)
.
push
(
function
(
translation_gadget
)
{
return
translation_gadget
.
getTranslationList
.
apply
(
translation_gadget
,
param_list
);
});
}
return
param_list
;
})
.
allowPublicAcquisition
(
"
whoWantToDisplayThis
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
whoWantToDisplayThis
"
,
function
(
param_list
)
{
// Hey, I want to display some URL
// Hey, I want to display some URL
...
...
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml
View file @
efebf67b
...
@@ -147,11 +147,13 @@
...
@@ -147,11 +147,13 @@
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<list>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -195,16 +197,20 @@
...
@@ -195,16 +197,20 @@
</item>
</item>
</dictionary>
</dictionary>
</list>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<list>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -227,7 +233,7 @@
...
@@ -227,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
949.36660.60257.7577
</string>
</value>
<value>
<string>
981.40707.13352.51541
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,7 +251,7 @@
...
@@ -245,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1456920319.6
4
</float>
<float>
1583327151.
4
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -254,16 +260,20 @@
...
@@ -254,16 +260,20 @@
</item>
</item>
</dictionary>
</dictionary>
</list>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<list>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -311,7 +321,9 @@
...
@@ -311,7 +321,9 @@
</item>
</item>
</dictionary>
</dictionary>
</list>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
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