mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
app, lib: formatting, syntax
This commit is contained in:
parent
40254714b8
commit
bbf85f052b
@ -517,7 +517,6 @@ class SyncruleController extends ActionController
|
||||
if ($this->showNotInBranch($this->translate('Modifying Sync Rules'))) {
|
||||
return;
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->addTitle($this->translate('Add sync rule'));
|
||||
$this->tabs(new SyncRuleTabs())->activate('add');
|
||||
@ -609,12 +608,11 @@ class SyncruleController extends ActionController
|
||||
$form = SyncPropertyForm::load()->setDb($db);
|
||||
$this->tabs(new SyncRuleTabs($rule))->activate('property');
|
||||
$this->actions()->add(new Link(
|
||||
$this->translate('back'),
|
||||
'director/syncrule/property',
|
||||
['rule_id' => $ruleId],
|
||||
['class' => 'icon-left-big']
|
||||
));
|
||||
|
||||
$this->translate('back'),
|
||||
'director/syncrule/property',
|
||||
['rule_id' => $ruleId],
|
||||
['class' => 'icon-left-big']
|
||||
));
|
||||
if ($id = $this->params->get('id')) {
|
||||
$form->loadObject((int) $id);
|
||||
$this->addTitle(
|
||||
|
@ -116,7 +116,6 @@ class BranchStore
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
protected function newFromDbResult($query)
|
||||
|
@ -51,7 +51,7 @@ class HostActions extends HostActionsHook
|
||||
}
|
||||
|
||||
if ($allowEdit) {
|
||||
$actions[mt('director', 'Modify')] = Url::fromPath('director/host/edit',['name' => $hostname]);
|
||||
$actions[mt('director', 'Modify')] = Url::fromPath('director/host/edit', ['name' => $hostname]);
|
||||
}
|
||||
|
||||
return $actions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user