mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-18 10:32:54 -05:00
process/show: render unbound nodes only for full tree
This commit is contained in:
parent
73fe7cd2da
commit
60ff12b42e
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
<?php
|
||||
|
||||
use Icinga\Module\Businessprocess\BusinessProcess;
|
||||
|
||||
?>
|
||||
<?php if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
|
|
@ -59,8 +64,10 @@
|
|||
<div class="bp">
|
||||
<?= $this->bp->renderHtml($this) ?>
|
||||
<?php if (! $this->bpconfig->isLocked()): ?>
|
||||
<?php if ($this->bp instanceof BusinessProcess): /* do not render when showing subtree */ ?>
|
||||
<?= $this->bp->renderUnbound($this) ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?= $this->render('warnings.phtml') ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue