Data: flip field/list order, as fields are...

...more important
This commit is contained in:
Thomas Gelf 2016-10-17 17:24:27 +00:00
parent edbda2c592
commit 8c2d5ec7f9
2 changed files with 7 additions and 7 deletions

View File

@ -109,8 +109,8 @@ $all = array(
array('database', $this->translate('Import data sources'), 'director/list/importsource', $this->translate('Define and manage imports from various data sources'), $this->importState),
array('flapping', $this->translate('Synchronize'), 'director/list/syncrule', $this->translate('Define how imported data should be synchronized with Icinga'), $this->syncState),
array('clock', $this->translate('Jobs'), 'director/jobs', $this->translate('Schedule and automate Import, Syncronization, Config Deployment, Housekeeping and more'), $this->jobState),
array('sort-name-up', $this->translate('Provide data lists'), 'director/data/lists', $this->translate('Provide data lists to make life easier for your users')),
array('edit', $this->translate('Define data fields'), 'director/data/fields', $this->translate('Data fields make sure that configuration fits your rules')),
array('sort-name-up', $this->translate('Provide data lists'), 'director/data/lists', $this->translate('Provide data lists to make life easier for your users')),
)
);
?>

View File

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