Commit 5d3fb545 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Don't display Monitor/Upgrade Scope when the Hosting Subscript contains only Slaves

Monitoring and Upgrade scope of a Slave handled by the owner of the Software Instance where the Slave is allocated into.
parent 7a10433f
No related merge requests found
......@@ -289,10 +289,10 @@
"default": gadget.state.doc.monitor_scope,
"css_class": "",
"items": monitor_scope_list,
"required": 1,
"required": 0,
"editable": 1,
"key": "monitor_scope",
"hidden": 0,
"hidden": gadget.state.doc.root_slave ? 1: 0,
"type": "ListField"
},
"my_upgrade_scope": {
......@@ -301,10 +301,10 @@
"default": gadget.state.doc.upgrade_scope,
"css_class": "",
"items": upgrade_scope_list,
"required": 1,
"required": 0,
"editable": 1,
"key": "upgrade_scope",
"hidden": 0,
"hidden": gadget.state.doc.root_slave ? 1: 0,
"type": "ListField"
},
"connection_listbox": {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>974.62049.17150.785</string> </value>
<value> <string>975.56864.40160.43520</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1558467876.65</float>
<float>1558622604.12</float>
<string>UTC</string>
</tuple>
</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