Fix missing tab labels

fixes #8518
This commit is contained in:
Johannes Meyer 2015-02-27 09:32:44 +01:00
parent 82017da85f
commit f2259557c8
3 changed files with 10 additions and 7 deletions

View File

@ -121,7 +121,8 @@ class ConfigController extends ActionController
// @TODO(el): This seems not natural to me. Module configuration should have its own controller. // @TODO(el): This seems not natural to me. Module configuration should have its own controller.
$this->view->tabs = Widget::create('tabs') $this->view->tabs = Widget::create('tabs')
->add('modules', array( ->add('modules', array(
'title' => $this->translate('Modules'), 'label' => $this->translate('Modules'),
'title' => $this->translate('List intalled modules'),
'url' => 'config/modules' 'url' => 'config/modules'
)) ))
->activate('modules'); ->activate('modules');

View File

@ -249,7 +249,8 @@ class DashboardController extends ActionController
$this->view->tabs->add( $this->view->tabs->add(
'Add', 'Add',
array( array(
'title' => '+', 'label' => '+',
'title' => 'Add a dashlet to an existing or new dashboard',
'url' => Url::fromPath('dashboard/new-dashlet') 'url' => Url::fromPath('dashboard/new-dashlet')
) )
); );

View File

@ -24,13 +24,14 @@ class Doc_StyleController extends Controller
return Widget::create('tabs')->add( return Widget::create('tabs')->add(
'guide', 'guide',
array( array(
'title' => $this->translate('Style Guide'), 'label' => $this->translate('Style Guide'),
'url' => 'doc/style/guide' 'url' => 'doc/style/guide'
) )
)->add( )->add(
'font', 'font',
array( array(
'title' => $this->translate('Icons'), 'label' => $this->translate('Icons'),
'title' => $this->translate('List all available icons'),
'url' => 'doc/style/font' 'url' => 'doc/style/font'
) )
); );