|
@@ -159,7 +159,9 @@ function customPopupFeature(latlng, content) {
|
|
|
if(content.temp == 0) {temp = "-";} else {temp = content.temp;}
|
|
|
|
|
|
ponSerialNumber = id.replace("onu.", "").toUpperCase();
|
|
|
- data = "<b>" + ponSerialNumber + "</b><br /> Tx: <span class='"+txStyle(content.tx)+"'>" + tx +
|
|
|
+ link = "{{path('admin_stats_onu_show',{'id':'IDONU'})}}";
|
|
|
+ url = link.replace("IDONU", content.id_stats);
|
|
|
+ data = "<a href='" + url + "' target='_blank'><b>" + ponSerialNumber + "</b></a><br /> Tx: <span class='"+txStyle(content.tx)+"'>" + tx +
|
|
|
"</span> dBm<br /> Rx: <span class='"+rxStyle(content.rx)+"'>" + rx +
|
|
|
"</span> dBm<br /> Status: " + status +
|
|
|
"<br /> Voltage: " + volt +
|