Services tab header in detail view (still no services)
This commit is contained in:
parent
d1ca8ab0fe
commit
3a2b2339e8
|
@ -100,11 +100,12 @@ class Monitoring_ShowController extends Controller
|
||||||
$this->getTabs()->activate('history');
|
$this->getTabs()->activate('history');
|
||||||
$this->view->object->populate();
|
$this->view->object->populate();
|
||||||
$this->view->object->fetchEventHistory();
|
$this->view->object->fetchEventHistory();
|
||||||
$this->view->history = $this->view->object->eventhistory->limit(10)->paginate();
|
$this->view->history = $this->view->object->eventhistory->limit(20)->paginate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function servicesAction()
|
public function servicesAction()
|
||||||
{
|
{
|
||||||
|
$this->getTabs()->activate('services');
|
||||||
$params = $this->_request->getParams();
|
$params = $this->_request->getParams();
|
||||||
unset($params['service']);
|
unset($params['service']);
|
||||||
$this->view->services = $this->fetchServices($params)->paginate();
|
$this->view->services = $this->fetchServices($params)->paginate();
|
||||||
|
|
Loading…
Reference in New Issue