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
Xavier Thompson
slapos.core
Commits
f4dcb8a2
Commit
f4dcb8a2
authored
Mar 05, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Indicate which instance is going to be destroyed on the form.
parent
476cbf81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_destroy_hosting_subscription_js.js
..._gadget_erp5_page_slap_destroy_hosting_subscription_js.js
+19
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_destroy_hosting_subscription_js.xml
...gadget_erp5_page_slap_destroy_hosting_subscription_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_destroy_hosting_subscription_js.js
View file @
f4dcb8a2
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
jio_post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
jio_post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
jio_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
jio_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
...
@@ -58,13 +59,26 @@
...
@@ -58,13 +59,26 @@
return
RSVP
.
Queue
()
return
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
)
gadget
.
getDeclaredGadget
(
'
form_view
'
),
gadget
.
jio_get
(
options
.
jio_key
)
]);
]);
})
})
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
options
.
doc
=
result
[
1
];
return
result
[
0
].
render
({
return
result
[
0
].
render
({
erp5_document
:
{
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
my_title
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Instance to be removed:
"
,
"
default
"
:
options
.
doc
.
title
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
editable
"
:
0
,
"
key
"
:
"
title_label
"
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
},
"
my_relative_url
"
:
{
"
my_relative_url
"
:
{
"
description
"
:
""
,
"
description
"
:
""
,
"
title
"
:
"
Parent Relative Url
"
,
"
title
"
:
"
Parent Relative Url
"
,
...
@@ -88,13 +102,16 @@
...
@@ -88,13 +102,16 @@
group_list
:
[[
group_list
:
[[
"
left
"
,
"
left
"
,
[[
"
my_relative_url
"
]]
[[
"
my_relative_url
"
]]
],
[
"
center
"
,
[[
"
my_title
"
]]
]]
]]
}
}
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
updateHeader
({
return
gadget
.
updateHeader
({
page_title
:
"
Destroy Hosting Subscription
"
,
page_title
:
"
Destroy Hosting Subscription
:
"
+
options
.
doc
.
title
,
submit_action
:
true
submit_action
:
true
});
});
});
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_destroy_hosting_subscription_js.xml
View file @
f4dcb8a2
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
965.
23589.23594.3957
7
</string>
</value>
<value>
<string>
965.
64411.29832.1455
7
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
18100182.5
</float>
<float>
15
20290370.68
</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