mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-19 00:38:27 +02:00
object/history: use activity log styling
This commit is contained in:
parent
01659f3505
commit
782667e6b9
@ -231,12 +231,16 @@ abstract class ObjectController extends ActionController
|
||||
|
||||
public function historyAction()
|
||||
{
|
||||
$db = $this->db();
|
||||
$type = $this->getType();
|
||||
$this->getTabs()->activate('history');
|
||||
$this->view->title = $this->translate('Activity Log');
|
||||
$lastDeployedId = $db->getLastDeploymentActivityLogId();
|
||||
$this->view->table = $this->applyPaginationLimits(
|
||||
$this->loadTable('activityLog')->setConnection($this->db())
|
||||
->filterObject('icinga_' . $type, $this->object->object_name)
|
||||
$this->loadTable('activityLog')
|
||||
->setConnection($db)
|
||||
->setLastDeployedId($lastDeployedId)
|
||||
->filterObject('icinga_' . $type, $this->object->object_name)
|
||||
);
|
||||
$this->render('object/history', null, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user