ActionController: provide data tabs
This commit is contained in:
parent
ea0f58f611
commit
0f1e0c182f
|
@ -107,17 +107,23 @@ abstract class ActionController extends Controller
|
||||||
'label' => $this->translate('Activity Log'),
|
'label' => $this->translate('Activity Log'),
|
||||||
'url' => 'director/list/activitylog'
|
'url' => 'director/list/activitylog'
|
||||||
)
|
)
|
||||||
)->add(
|
);
|
||||||
|
return $this->view->tabs;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function setDataTabs()
|
||||||
|
{
|
||||||
|
$this->view->tabs = Widget::create('tabs')->add(
|
||||||
'datalist',
|
'datalist',
|
||||||
array(
|
array(
|
||||||
'label' => $this->translate('Data lists'),
|
'label' => $this->translate('Data lists'),
|
||||||
'url' => 'director/list/datalist'
|
'url' => 'director/data/lists'
|
||||||
)
|
)
|
||||||
)->add(
|
)->add(
|
||||||
'datafield',
|
'datafield',
|
||||||
array(
|
array(
|
||||||
'label' => $this->translate('Data fields'),
|
'label' => $this->translate('Data fields'),
|
||||||
'url' => 'director/list/datafield'
|
'url' => 'director/data/fields'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return $this->view->tabs;
|
return $this->view->tabs;
|
||||||
|
|
Loading…
Reference in New Issue