X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=web%2FMonitorWeb%2Fmonitorweb%2Ftemplates%2Flinks.py;h=95f192eb856236171ad5c5a378a46c6a2a1640b5;hb=27baa7fde48c1c6b825fbc33a5103d6b13a55162;hp=2bc69177b590adcabc3a9754223f6c2c0c2b516f;hpb=c9d06f3b274ecbc092a0b3eb1f5ceb6c0f734aad;p=monitor.git diff --git a/web/MonitorWeb/monitorweb/templates/links.py b/web/MonitorWeb/monitorweb/templates/links.py index 2bc6917..95f192e 100644 --- a/web/MonitorWeb/monitorweb/templates/links.py +++ b/web/MonitorWeb/monitorweb/templates/links.py @@ -5,9 +5,11 @@ import urllib def plc_mail_uri(ticketid): return config.RT_WEB_SERVER + "/Ticket/Display.html?id=" + str(ticketid) def plc_node_uri(hostname): - return "https://" + config.PLC_WWW_HOSTNAME + "/db/nodes/index.php?nodepattern=" + str(hostname) + return "https://" + config.PLC_WWW_HOSTNAME + "/db/nodes/index.php?pattern=" + str(hostname) +def plc_node_uri_id(node_id): + return "https://" + config.PLC_WWW_HOSTNAME + "/db/nodes/index.php?id=" + str(node_id) def plc_site_uri(loginbase): - return "https://" + config.PLC_WWW_HOSTNAME + "/db/sites/index.php?site_pattern=" + str(loginbase) + return "https://" + config.PLC_WWW_HOSTNAME + "/db/sites/index.php?pattern=" + str(loginbase) def plc_site_uri_id(site_id): return "https://" + config.PLC_WWW_HOSTNAME + "/db/sites/index.php?id=" + str(site_id) def plc_pcu_uri_id(pcu_id):