Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
slapos.core
Commits
7c22321a
Commit
7c22321a
authored
Dec 26, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Follow up the new API to add gadget on a column
parent
cb1401e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
...b_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
+16
-14
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
..._page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.js
View file @
7c22321a
...
@@ -35,8 +35,9 @@
...
@@ -35,8 +35,9 @@
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
text_content
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
text_content
"
)))
{
result
.
data
.
rows
[
i
].
value
.
text_content
=
{
result
.
data
.
rows
[
i
].
value
.
text_content
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
Entry
"
,
hidden
:
0
,
hidden
:
0
,
"
default
"
:
{
doc
:
{
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
"
default
"
:
{
doc
:
{
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
source
:
result
.
data
.
rows
[
i
].
value
.
source_title
,
source
:
result
.
data
.
rows
[
i
].
value
.
source_title
,
...
@@ -48,6 +49,7 @@
...
@@ -48,6 +49,7 @@
title
:
"
Status
"
,
title
:
"
Status
"
,
editable
:
1
,
editable
:
1
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
@@ -174,7 +176,7 @@
...
@@ -174,7 +176,7 @@
"
show_anchor
"
:
0
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
default_params
"
:
{},
"
editable
"
:
1
,
"
editable
"
:
1
,
"
editable_column_list
"
:
[],
"
editable_column_list
"
:
[
"
text_content
"
],
"
key
"
:
"
slap_ticket_event_listbox
"
,
"
key
"
:
"
slap_ticket_event_listbox
"
,
"
lines
"
:
10
,
"
lines
"
:
10
,
"
list_method
"
:
"
portal_catalog
"
,
"
list_method
"
:
"
portal_catalog
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_view_js.xml
View file @
7c22321a
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
7320.56229.50244
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1545
663769.6
6
</float>
<float>
1545
844794.
6
</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