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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
248e3520
Commit
248e3520
authored
Mar 04, 2020
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_manifest: add missing methods
parent
1ecf9e8a
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 @
248e3520
...
...
@@ -288,6 +288,30 @@
}
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
)
{
// Hey, I want to display some URL
...
...
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml
View file @
248e3520
...
...
@@ -147,11 +147,13 @@
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
...
...
@@ -195,16 +197,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
...
...
@@ -227,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
949.36660.60257.7577
</string>
</value>
<value>
<string>
981.40707.13352.51541
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -245,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>
1456920319.6
4
</float>
<float>
1583327151.
4
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -254,16 +260,20 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
...
...
@@ -311,7 +321,9 @@
</item>
</dictionary>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</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