mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-18 18:30:00 -05:00
wip
This commit is contained in:
parent
ff0cb21a2b
commit
b92b00356f
1 changed files with 7 additions and 0 deletions
|
|
@ -6,11 +6,18 @@ use Icinga\Module\Businessprocess\ImportedNode;
|
|||
use Icinga\Module\Businessprocess\Renderer\TileRenderer\NodeTile;
|
||||
use Icinga\Module\Businessprocess\Web\Form\CsrfToken;
|
||||
use ipl\Html\Html;
|
||||
use ipl\Web\Widget\EmptyState;
|
||||
|
||||
class TileRenderer extends Renderer
|
||||
{
|
||||
public function assemble()
|
||||
{
|
||||
if (empty($this->getChildNodes())) {
|
||||
$this->addHtml(new EmptyState(t('This node does not contain any children')));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$bp = $this->config;
|
||||
$nodesDiv = Html::tag(
|
||||
'div',
|
||||
|
|
|
|||
Loading…
Reference in a new issue