Commit 9195232f authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: disable all monitor links

parent 2b4cae9d
return ""
# sadly, monitor is not ready yet to handle another master
# AND one may want to use a different url for its monitor app
"""
base_url = 'https://monitor.app.officejs.com/#/?page=ojsm_dispatch&query=portal_type:"Software Instance" AND '
if context.getPortalType() in ["Organisation", "Computer Network"]:
......@@ -18,3 +23,4 @@ if context.getPortalType() in ["Software Instance", "Slave Instance"]:
if context.getPortalType() == "Compute Node":
return base_url + "aggregate_reference:%s" % context.getReference()
"""
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