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
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
7c387d03
Commit
7c387d03
authored
Feb 15, 2023
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_gadget_interface_validator: rename field to avoid render graphic in the listbox
parent
3d53f932
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_result_list_js.js
..._module/gadget_interface_validator_page_result_list_js.js
+10
-10
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_result_list_js.xml
...module/gadget_interface_validator_page_result_list_js.xml
+2
-2
No files found.
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_result_list_js.js
View file @
7c387d03
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
var
i
,
date
,
len
=
result
.
data
.
total_rows
;
var
i
,
date
,
len
=
result
.
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
result
.
data
.
rows
[
i
].
value
.
validation_state
=
{
result
.
data
.
rows
[
i
].
value
.
status
=
{
field_gadget_param
:
{
field_gadget_param
:
{
description
:
""
,
description
:
""
,
title
:
"
State
"
,
title
:
"
State
"
,
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
gadget_to_check_url
:
result
.
data
.
rows
[
i
].
value
.
url
,
gadget_to_check_url
:
result
.
data
.
rows
[
i
].
value
.
url
,
summary
:
true
summary
:
true
}),
}),
key
:
"
field_my_
validation_state
"
,
key
:
"
field_my_
status
"
,
hidden
:
0
,
hidden
:
0
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
}
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
.
push
(
function
(
form_gadget
)
{
.
push
(
function
(
form_gadget
)
{
var
column_list
=
[
var
column_list
=
[
[
'
url
'
,
'
Gadget
'
],
[
'
url
'
,
'
Gadget
'
],
[
'
validation_state
'
,
'
State
'
]
[
'
status
'
,
'
State
'
]
];
];
return
form_gadget
.
render
({
return
form_gadget
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
@@ -107,13 +107,13 @@
...
@@ -107,13 +107,13 @@
}
}
}
}
},
},
form_definition
:
{
form_definition
:
{
group_list
:
[[
group_list
:
[[
"
bottom
"
,
"
bottom
"
,
[[
"
listbox
"
]]
[[
"
listbox
"
]]
]]
]]
}
}
});
});
});
});
});
});
...
...
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_result_list_js.xml
View file @
7c387d03
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
977.38881.34981.2312
5
</string>
</value>
<value>
<string>
1006.24986.53991.136
5
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
581503610.2
</float>
<float>
1
676465021.23
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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