Commit cb4ea4e7 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: review View section in panel

Needed to cancel jump view
parent ebe5b46d
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
context = this, context = this,
workflow_list, workflow_list,
group_mapping, group_mapping,
//view_list, view_list,
action_list, action_list,
clone_list, clone_list,
jump_list; jump_list;
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
}); });
workflow_list = JSON.stringify(group_mapping.action_workflow); workflow_list = JSON.stringify(group_mapping.action_workflow);
//view_list = JSON.stringify(group_mapping.action_object_view); view_list = JSON.stringify(group_mapping.action_object_view);
action_list = JSON.stringify(group_mapping.action_object_jio_action); action_list = JSON.stringify(group_mapping.action_object_jio_action);
clone_list = JSON.stringify(group_mapping.action_object_clone_action); clone_list = JSON.stringify(group_mapping.action_object_clone_action);
jump_list = JSON.stringify(group_mapping.action_object_jio_jump); jump_list = JSON.stringify(group_mapping.action_object_jio_jump);
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
visible: visible, visible: visible,
display_workflow_list: display_workflow_list, display_workflow_list: display_workflow_list,
workflow_list: workflow_list, workflow_list: workflow_list,
//view_list: view_list, view_list: view_list,
action_list: action_list, action_list: action_list,
clone_list: clone_list, clone_list: clone_list,
jump_list: jump_list, jump_list: jump_list,
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
var i, var i,
gadget = this, gadget = this,
workflow_list, workflow_list,
view_list = [], view_list,
action_list, action_list,
clone_list, clone_list,
jump_list, jump_list,
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
modification_dict.hasOwnProperty("clone_list") || modification_dict.hasOwnProperty("clone_list") ||
modification_dict.hasOwnProperty("jump_list") || modification_dict.hasOwnProperty("jump_list") ||
modification_dict.hasOwnProperty("jio_key") || modification_dict.hasOwnProperty("jio_key") ||
//modification_dict.hasOwnProperty("view_list") || modification_dict.hasOwnProperty("view_list") ||
modification_dict.hasOwnProperty("extra_menu_list"))) { modification_dict.hasOwnProperty("extra_menu_list"))) {
dl_fragment = document.createDocumentFragment(); dl_fragment = document.createDocumentFragment();
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
.push(function () { .push(function () {
var parameter_list = []; var parameter_list = [];
//view_list = JSON.parse(gadget.state.view_list); view_list = JSON.parse(gadget.state.view_list);
action_list = JSON.parse(gadget.state.action_list); action_list = JSON.parse(gadget.state.action_list);
clone_list = JSON.parse(gadget.state.clone_list); clone_list = JSON.parse(gadget.state.clone_list);
jump_list = JSON.parse(gadget.state.jump_list); jump_list = JSON.parse(gadget.state.jump_list);
...@@ -285,10 +285,8 @@ ...@@ -285,10 +285,8 @@
}); });
}) })
.push(function (result_dict) { .push(function (result_dict) {
/*
appendDt(dl_fragment, result_dict.translation_dict.Views, 'eye', appendDt(dl_fragment, result_dict.translation_dict.Views, 'eye',
view_list, result_dict.url_list, 0); view_list, result_dict.url_list, 0);
*/
if (gadget.state.display_workflow_list) { if (gadget.state.display_workflow_list) {
// show Workflows only on document // show Workflows only on document
appendDt(dl_fragment, result_dict.translation_dict.Workflows, 'random', appendDt(dl_fragment, result_dict.translation_dict.Workflows, 'random',
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1003.51507.1368.7987</string> </value> <value> <string>1003.51517.50494.8618</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1666346746.18</float> <float>1666689519.78</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