Merge pull request #690 from laf/issue-666

Made poller message box a link to /poll-log/
This commit is contained in:
Daniel Preussker
2015-03-31 14:14:47 +02:00
+1 -1
View File
@@ -331,7 +331,7 @@ echo('<em> Powered by <a href="/about/" target="_blank">' . $config['proj
}
if(dbFetchCell("SELECT COUNT(`device_id`) FROM `devices` WHERE `last_polled` <= DATE_ADD(NOW(), INTERVAL - 15 minute) AND `ignore` = 0 AND `disabled` = 0 AND status = 1",array()) > 0) {
$msg_box[] = array('type' => 'warning', 'message' => "It appears as though you have some devices that haven't completed polling within the last 15 minutes, you may want to check that out :)",'title' => 'Devices unpolled');
$msg_box[] = array('type' => 'warning', 'message' => "<a href=\"poll-log/\">It appears as though you have some devices that haven't completed polling within the last 15 minutes, you may want to check that out :)</a>",'title' => 'Devices unpolled');
}
if(is_array($msg_box)) {