webui: added link to APs for alert details #5878 (#5898)

* webui: Add links to accesspoints in alerts #5878

* webui: added link to APs for alert details #5878
This commit is contained in:
Neil Lathwood
2017-02-15 07:55:03 +00:00
committed by GitHub
parent 6850bd15ad
commit e9d729eedc

View File

@ -1128,6 +1128,11 @@ function alert_details($details)
$fallback = false;
}
if ($tmp_alerts['accesspoint_id']) {
$fault_detail .= generate_ap_link($tmp_alerts, $tmp_alerts['name']) . '; ';
$fallback = false;
}
if ($tmp_alerts['type'] && $tmp_alerts['label']) {
if ($tmp_alerts['error'] == "") {
$fault_detail .= ' '.$tmp_alerts['type'].' - '.$tmp_alerts['label'].'; ';