* [task#143866, doing, 0.5h] add instance count in page.
This commit is contained in:
@@ -43,10 +43,11 @@ class system extends control
|
||||
|
||||
$actions = $this->loadModel('action')->getDynamic('all', 'today');
|
||||
|
||||
$this->view->title = $this->lang->my->common;
|
||||
$this->view->instances = $instances;
|
||||
$this->view->actions = $actions;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->title = $this->lang->my->common;
|
||||
$this->view->instances = $instances;
|
||||
$this->view->actions = $actions;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->instanceTotal = $this->instance->getInstanceCount();
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ div
|
||||
div
|
||||
(
|
||||
setClass('text-4xl font-semibold text-primary'),
|
||||
zget($pageInfo, 'recTotal', 0)
|
||||
zget($pageInfo, 'recTotal', 0) == $instanceTotal ? $instanceTotal : zget($pageInfo, 'recTotal', 0) . '/' . $instanceTotal
|
||||
),
|
||||
span
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user