Commit 3ddf3a4c authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: do not display "Modules" and workflow actions

parent a1183edf
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
} else { } else {
display_workflow_list = asBoolean(options.display_workflow_list); display_workflow_list = asBoolean(options.display_workflow_list);
} }
display_workflow_list = false;
if ((erp5_document !== undefined) && (jio_key !== undefined)) { if ((erp5_document !== undefined) && (jio_key !== undefined)) {
group_mapping = mergeGlobalActionWithRawActionList(jio_key, group_mapping = mergeGlobalActionWithRawActionList(jio_key,
...@@ -180,7 +181,7 @@ ...@@ -180,7 +181,7 @@
return RSVP.hash({ return RSVP.hash({
url_list: gadget.getUrlForList([ url_list: gadget.getUrlForList([
{command: 'display'}, {command: 'display'},
{command: 'display', options: {page: "front"}}, //{command: 'display', options: {page: "front"}},
{command: 'display', options: {page: "worklist"}}, {command: 'display', options: {page: "worklist"}},
{command: 'display', options: {page: "history"}}, {command: 'display', options: {page: "history"}},
{command: 'display_stored_state', options: {page: "search"}}, {command: 'display_stored_state', options: {page: "search"}},
...@@ -190,7 +191,7 @@ ...@@ -190,7 +191,7 @@
translation_list: gadget.getTranslationList([ translation_list: gadget.getTranslationList([
'Editable', 'Editable',
'Home', 'Home',
'Modules', //'Modules',
'Worklists', 'Worklists',
'History', 'History',
'Search', 'Search',
...@@ -205,7 +206,7 @@ ...@@ -205,7 +206,7 @@
element_list = [], element_list = [],
icon_and_key_list = [ icon_and_key_list = [
'home', null, 'home', null,
'puzzle-piece', 'm', //'puzzle-piece', 'm',
'tasks', 'w', 'tasks', 'w',
'history', 'h', 'history', 'h',
'search', 's', 'search', 's',
......
...@@ -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.51435.35621.36403</string> </value> <value> <string>1003.51470.26068.15547</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>1666341894.8</float> <float>1666345403.05</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