Commit 41d2e909 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fixup typo

parent 166df11f
Pipeline #22848 failed with stage
in 0 seconds
...@@ -130,13 +130,13 @@ ...@@ -130,13 +130,13 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "change", options: {"page": "slap_add_compute_node"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_add_compute_node"}}),
gadget.getUrlFor({command: "change", options: {page: "slap_compute_node_get_token"}}), gadget.getUrlFor({command: "change", options: {page: "slap_compute_node_get_token"}}),
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: "compute_node_module"}) gadget.updatePanel({jio_key: "compute_node_module"})
]); ]);
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.26171.19762.42854</string> </value> <value> <string>1001.59387.30502.30993</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659041007.85</float> <float>1659068807.75</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
hateoas_url + gadget.state.jio_key + "/Login_edit", doc); hateoas_url + gadget.state.jio_key + "/Login_edit", doc);
}) })
.push(function (response) { .push(function (response) {
var redirect_url;
if (response.target === undefined) { if (response.target === undefined) {
return gadget.notifySubmitted({message: gadget.message2_translation, status: 'success'}); return gadget.notifySubmitted({message: gadget.message2_translation, status: 'success'});
} }
...@@ -77,10 +76,13 @@ ...@@ -77,10 +76,13 @@
// The script required to launch a redirect // The script required to launch a redirect
return gadget.notifySubmitted({message: gadget.message2_translation, status: 'success'}) return gadget.notifySubmitted({message: gadget.message2_translation, status: 'success'})
.push(function () { .push(function () {
return gadget.getSetting('frontpage_gadget');
})
.push(function (frontpage_gadget) {
return gadget.getUrlFor({ return gadget.getUrlFor({
command: 'display', command: 'display',
absolute_url: true, absolute_url: true,
options: {"jio_key": "/", "page": "slapos"} options: {"jio_key": "/", "page": frontpage_gadget}
}) })
}) })
.push(function (came_from) { .push(function (came_from) {
......
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.45437.22132.61764</string> </value> <value> <string>1001.59838.52231.28228</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1602260156.69</float> <float>1659068549.98</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
gadget.jio_getAttachment("contract_relative_url", gadget.jio_getAttachment("contract_relative_url",
url_list[0] + url_list[1] + "/Person_getCloudContractRelated?return_json=True"), url_list[0] + url_list[1] + "/Person_getCloudContractRelated?return_json=True"),
gadget.updatePanel({jio_key: "accounting_module"}), gadget.updatePanel({jio_key: "accounting_module"}),
gadget.getSetting('frontend_gadget') gadget.getSetting('frontpage_gadget')
]); ]);
}) })
.push(function (result) { .push(function (result) {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>999.2068.62564.17</string> </value> <value> <string>1001.59414.5078.17476</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659042604.5</float> <float>1659068942.39</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -123,12 +123,12 @@ ...@@ -123,12 +123,12 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "change", options: {"page": "slap_add_network"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_add_network"}}),
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: "computer_network_module"}) gadget.updatePanel({jio_key: "computer_network_module"})
]); ]);
}) })
......
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.26171.19762.42854</string> </value> <value> <string>1001.59379.40192.59272</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659040536.73</float> <float>1659068921.68</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
.push(function () { .push(function () {
return RSVP.all([ return RSVP.all([
window.getSettingMe(gadget), window.getSettingMe(gadget),
gadget.getSetting('frontend_gadget') gadget.getSetting('frontpage_gadget')
]); ]);
}) })
.push(function (setting_list) { .push(function (setting_list) {
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>999.2068.62564.17</string> </value> <value> <string>1001.59425.29682.52855</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659043287.11</float> <float>1659068534.69</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "change", options: {"page": "slap_add_project"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_add_project"}}),
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: "project_module"}) gadget.updatePanel({jio_key: "project_module"})
]); ]);
}) })
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.26171.19762.42854</string> </value> <value> <string>1001.59376.11750.51012</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659040330.61</float> <float>1659068904.46</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -87,12 +87,12 @@ ...@@ -87,12 +87,12 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "display_dialog_with_history", options: {"page": "slap_select_software_product"}}), gadget.getUrlFor({command: "display_dialog_with_history", options: {"page": "slap_select_software_product"}}),
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: "instance_tree_module"}) gadget.updatePanel({jio_key: "instance_tree_module"})
]); ]);
}) })
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.26171.19762.42854</string> </value> <value> <string>1001.59388.52713.22408</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659041088.19</float> <float>1659068879.32</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -147,15 +147,15 @@ ...@@ -147,15 +147,15 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({ gadget.getUrlFor({
command: 'change', command: 'change',
options: { page: 'slap_add_organisation' } options: { page: 'slap_add_organisation' }
}), }),
gadget.getUrlFor({ command: 'change', options: { page: frontend_gadget}}), gadget.getUrlFor({ command: 'change', options: { page: frontpage_gadget}}),
gadget.updatePanel({jio_key: 'organisation_module'}) gadget.updatePanel({jio_key: 'organisation_module'})
]); ]);
}) })
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.59382.44188.28893</string> </value> <value> <string>1001.59386.28929.32102</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659040946.32</float> <float>1659068860.66</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -96,13 +96,13 @@ ...@@ -96,13 +96,13 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "change", options: {"page": "slap_add_ticket"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_add_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": "slap_rss_ticket"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_rss_ticket"}}),
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.getUrlFor({command: "change", options: {"page": "slap_rss_critical_ticket"}}), gadget.getUrlFor({command: "change", options: {"page": "slap_rss_critical_ticket"}}),
gadget.updatePanel({jio_key: "support_request_module"}) gadget.updatePanel({jio_key: "support_request_module"})
]); ]);
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1000.2322.46712.16657</string> </value> <value> <string>1001.59377.44199.3498</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659040420.38</float> <float>1659068844.09</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -324,11 +324,11 @@ ...@@ -324,11 +324,11 @@
}); });
}) })
.push(function () { .push(function () {
return gadget.getSetting('frontend_gadget'); return gadget.getSetting('frontpage_gadget');
}) })
.push(function (frontend_gadget) { .push(function (frontpage_gadget) {
return RSVP.all([ return RSVP.all([
gadget.getUrlFor({command: "change", options: {"page": frontend_gadget}}), gadget.getUrlFor({command: "change", options: {"page": frontpage_gadget}}),
gadget.updatePanel({jio_key: false}) gadget.updatePanel({jio_key: false})
]); ]);
}) })
......
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1001.26171.19762.42854</string> </value> <value> <string>1001.59393.60810.27067</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1659041395.54</float> <float>1659068824.06</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment