mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
KickstartController: not in branches
This commit is contained in:
parent
30bbf0836d
commit
13f6ff6131
@ -4,13 +4,19 @@ namespace Icinga\Module\Director\Controllers;
|
|||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Icinga\Module\Director\Forms\KickstartForm;
|
use Icinga\Module\Director\Forms\KickstartForm;
|
||||||
|
use Icinga\Module\Director\Web\Controller\BranchHelper;
|
||||||
|
|
||||||
class KickstartController extends DashboardController
|
class KickstartController extends DashboardController
|
||||||
{
|
{
|
||||||
|
use BranchHelper;
|
||||||
|
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
$this->addSingleTab($this->translate('Kickstart'))
|
$this->addSingleTab($this->translate('Kickstart'))
|
||||||
->addTitle($this->translate('Director Kickstart Wizard'));
|
->addTitle($this->translate('Director Kickstart Wizard'));
|
||||||
|
if ($this->showNotInBranch($this->translate('Kickstart'))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$form = KickstartForm::load();
|
$form = KickstartForm::load();
|
||||||
try {
|
try {
|
||||||
$form->setEndpoint($this->db()->getDeploymentEndpoint());
|
$form->setEndpoint($this->db()->getDeploymentEndpoint());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user