parent
82017da85f
commit
f2259557c8
|
@ -121,7 +121,8 @@ class ConfigController extends ActionController
|
|||
// @TODO(el): This seems not natural to me. Module configuration should have its own controller.
|
||||
$this->view->tabs = Widget::create('tabs')
|
||||
->add('modules', array(
|
||||
'title' => $this->translate('Modules'),
|
||||
'label' => $this->translate('Modules'),
|
||||
'title' => $this->translate('List intalled modules'),
|
||||
'url' => 'config/modules'
|
||||
))
|
||||
->activate('modules');
|
||||
|
|
|
@ -249,8 +249,9 @@ class DashboardController extends ActionController
|
|||
$this->view->tabs->add(
|
||||
'Add',
|
||||
array(
|
||||
'title' => '+',
|
||||
'url' => Url::fromPath('dashboard/new-dashlet')
|
||||
'label' => '+',
|
||||
'title' => 'Add a dashlet to an existing or new dashboard',
|
||||
'url' => Url::fromPath('dashboard/new-dashlet')
|
||||
)
|
||||
);
|
||||
$this->view->dashboard = $this->dashboard;
|
||||
|
|
|
@ -24,14 +24,15 @@ class Doc_StyleController extends Controller
|
|||
return Widget::create('tabs')->add(
|
||||
'guide',
|
||||
array(
|
||||
'title' => $this->translate('Style Guide'),
|
||||
'url' => 'doc/style/guide'
|
||||
'label' => $this->translate('Style Guide'),
|
||||
'url' => 'doc/style/guide'
|
||||
)
|
||||
)->add(
|
||||
'font',
|
||||
array(
|
||||
'title' => $this->translate('Icons'),
|
||||
'url' => 'doc/style/font'
|
||||
'label' => $this->translate('Icons'),
|
||||
'title' => $this->translate('List all available icons'),
|
||||
'url' => 'doc/style/font'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue