ActionController: provide data tabs

This commit is contained in:
Thomas Gelf 2016-02-28 17:03:32 +01:00
parent ea0f58f611
commit 0f1e0c182f
1 changed files with 9 additions and 3 deletions

View File

@ -107,17 +107,23 @@ abstract class ActionController extends Controller
'label' => $this->translate('Activity Log'),
'url' => 'director/list/activitylog'
)
)->add(
);
return $this->view->tabs;
}
protected function setDataTabs()
{
$this->view->tabs = Widget::create('tabs')->add(
'datalist',
array(
'label' => $this->translate('Data lists'),
'url' => 'director/list/datalist'
'url' => 'director/data/lists'
)
)->add(
'datafield',
array(
'label' => $this->translate('Data fields'),
'url' => 'director/list/datafield'
'url' => 'director/data/fields'
)
);
return $this->view->tabs;