Monitoring_ListController: autorefresh matrix...

...and notification views

fixes #6152
This commit is contained in:
Thomas Gelf 2014-05-09 16:01:47 +00:00
parent 1190a8959f
commit 6523af711c

View File

@ -250,6 +250,7 @@ class Monitoring_ListController extends Controller
public function notificationsAction() public function notificationsAction()
{ {
$this->addTitleTab('notifications'); $this->addTitleTab('notifications');
$this->setAutorefreshInterval(15);
$query = NotificationView::fromRequest($this->_request)->getQuery(); $query = NotificationView::fromRequest($this->_request)->getQuery();
$this->view->notifications = $query->paginate(); $this->view->notifications = $query->paginate();
@ -475,6 +476,7 @@ class Monitoring_ListController extends Controller
public function servicematrixAction() public function servicematrixAction()
{ {
$this->view->title = 'Servicematrix'; $this->view->title = 'Servicematrix';
$this->setAutorefreshInterval(15);
$this->addTitleTab('servicematrix'); $this->addTitleTab('servicematrix');
$dataview = ServiceStatusView::fromRequest( $dataview = ServiceStatusView::fromRequest(
$this->getRequest(), $this->getRequest(),