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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
3ddf3a4c
Commit
3ddf3a4c
authored
Oct 21, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel: do not display "Modules" and workflow actions
parent
a1183edf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.js
...plateItem/web_page_module/slapos_master_panel_panel_js.js
+4
-3
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.xml
...lateItem/web_page_module/slapos_master_panel_panel_js.xml
+2
-2
No files found.
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.js
View file @
3ddf3a4c
...
...
@@ -85,6 +85,7 @@
}
else
{
display_workflow_list
=
asBoolean
(
options
.
display_workflow_list
);
}
display_workflow_list
=
false
;
if
((
erp5_document
!==
undefined
)
&&
(
jio_key
!==
undefined
))
{
group_mapping
=
mergeGlobalActionWithRawActionList
(
jio_key
,
...
...
@@ -180,7 +181,7 @@
return
RSVP
.
hash
({
url_list
:
gadget
.
getUrlForList
([
{
command
:
'
display
'
},
{
command
:
'
display
'
,
options
:
{
page
:
"
front
"
}},
//
{command: 'display', options: {page: "front"}},
{
command
:
'
display
'
,
options
:
{
page
:
"
worklist
"
}},
{
command
:
'
display
'
,
options
:
{
page
:
"
history
"
}},
{
command
:
'
display_stored_state
'
,
options
:
{
page
:
"
search
"
}},
...
...
@@ -190,7 +191,7 @@
translation_list
:
gadget
.
getTranslationList
([
'
Editable
'
,
'
Home
'
,
'
Modules
'
,
//
'Modules',
'
Worklists
'
,
'
History
'
,
'
Search
'
,
...
...
@@ -205,7 +206,7 @@
element_list
=
[],
icon_and_key_list
=
[
'
home
'
,
null
,
'
puzzle-piece
'
,
'
m
'
,
//
'puzzle-piece', 'm',
'
tasks
'
,
'
w
'
,
'
history
'
,
'
h
'
,
'
search
'
,
'
s
'
,
...
...
master/bt5/slapos_panel/PathTemplateItem/web_page_module/slapos_master_panel_panel_js.xml
View file @
3ddf3a4c
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1003.514
35.35621.36403
</string>
</value>
<value>
<string>
1003.514
70.26068.15547
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
166634
1894.8
</float>
<float>
166634
5403.05
</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