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
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
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 @@
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
text_content
"
)))
{
result
.
data
.
rows
[
i
].
value
.
text_content
=
{
field_gadget_param
:
{
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
Entry
"
,
hidden
:
0
,
"
default
"
:
{
doc
:
{
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
source
:
result
.
data
.
rows
[
i
].
value
.
source_title
,
...
...
@@ -48,6 +49,7 @@
title
:
"
Status
"
,
editable
:
1
,
type
:
"
GadgetField
"
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
...
...
@@ -174,7 +176,7 @@
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
1
,
"
editable_column_list
"
:
[],
"
editable_column_list
"
:
[
"
text_content
"
],
"
key
"
:
"
slap_ticket_event_listbox
"
,
"
lines
"
:
10
,
"
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 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
1545
663769.6
6
</float>
<float>
1545
844794.
6
</float>
<string>
UTC
</string>
</tuple>
</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