mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-05 21:29:33 -05:00
process/show: remove a couple of main targets
This commit is contained in:
parent
ef949e3adb
commit
e2a0259fd1
1 changed files with 5 additions and 7 deletions
|
|
@ -10,16 +10,16 @@ use Icinga\Module\Businessprocess\BusinessProcess;
|
|||
<?= $this->formSelect('config', $this->configName, array('class' => 'autosubmit'), $this->processList) ?>
|
||||
</form>
|
||||
|
||||
<a href="<?= $this->url()->with('mode', 'toplevel')->without('unlocked') ?>" title="<?= $this->escape('Switch to toplevel view') ?>" data-base-target="_main"><?= $this->icon('dashboard') ?></a>
|
||||
<a href="<?= $this->url()->with('mode', 'toplevel')->without('unlocked') ?>" title="<?= $this->escape('Switch to toplevel view') ?>"><?= $this->icon('dashboard') ?></a>
|
||||
<?php if ($this->bpconfig->isLocked()): ?>
|
||||
<a href="<?= $this->url()->with('unlocked', true) ?>" title="<?= $this->escape($this->translate('Unlock this process')) ?>"><?= $this->icon('lock') ?></a>
|
||||
<?php else: ?>
|
||||
<?php if (! $this->bpconfig->isEmpty()): ?>
|
||||
<a href="<?= $this->url()->without('unlocked') ?>" style="color: red" title="<?= $this->escape($this->translate('Lock this process')) ?>" data-base-target="_main"><?= $this->icon('lock-open') ?></a>
|
||||
<a href="<?= $this->url()->without('unlocked') ?>" style="color: red" title="<?= $this->escape($this->translate('Lock this process')) ?>"><?= $this->icon('lock-open') ?></a>
|
||||
<?php endif ?>
|
||||
<a href="<?= $this->url('businessprocess/process/config', array('config' => $this->configName)) ?>" title="<?= $this->escape('Modify this process') ?>" data-base-target="_next"><?= $this->icon('wrench') ?></a>
|
||||
<?php endif ?>
|
||||
<a href="<?= $this->url('businessprocess/process/create') ?>" title="<?= $this->escape('Create a new business process configuration') ?>" data-base-target="_main"><?= $this->icon('plus') ?></a>
|
||||
<a href="<?= $this->url('businessprocess/process/create') ?>" title="<?= $this->escape('Create a new business process configuration') ?>"><?= $this->icon('plus') ?></a>
|
||||
</h1>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
@ -44,8 +44,7 @@ use Icinga\Module\Businessprocess\BusinessProcess;
|
|||
) ?> <?= $this->qlink(
|
||||
$this->translate('Dismiss'),
|
||||
$this->url()->with('dismissChanges', true),
|
||||
null,
|
||||
array('data-base-target' => '_main')
|
||||
null
|
||||
) ?></li>
|
||||
<?php endif ?>
|
||||
<?php if ($this->bpconfig->hasSimulations()): ?>
|
||||
|
|
@ -55,8 +54,7 @@ use Icinga\Module\Businessprocess\BusinessProcess;
|
|||
) ?> <?= $this->qlink(
|
||||
$this->translate('Dismiss'),
|
||||
$this->url()->with('dismissSimulations', true),
|
||||
null,
|
||||
array('data-base-target' => '_main')
|
||||
null
|
||||
) ?></li>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue