mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-01 03:09:35 -05:00
warnings: show them if available
This commit is contained in:
parent
b50e8a082c
commit
0e0393c89e
2 changed files with 7 additions and 2 deletions
|
|
@ -2,12 +2,11 @@
|
|||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?>
|
||||
<a href="<?= $this->url()->with('mode', 'toplevel') ?>" title="<?= $this->escape('Switch to toplevel view') ?>"><?= $this->icon('dashboard') ?></a>
|
||||
<?= $this->render('simulationlink.phtml') ?>
|
||||
<?= $this->render('editlink.phtml') ?>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="content" data-base-target="_next">
|
||||
<form method="post" action="<?= $this->url()->without('process') ?>" data-base-target="_self"> <?= $this->bp->renderHtml($this) ?>
|
||||
<?= $this->render('warnings.phtml') ?>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
6
application/views/scripts/warnings.phtml
Normal file
6
application/views/scripts/warnings.phtml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?php if ($this->warnings): ?>
|
||||
<h2><?= $this->translate('Warnings') ?></h2>
|
||||
<?php foreach ($this->warnings as $warning): ?>
|
||||
<?= $this->escape($warning) ?><br />
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
Loading…
Reference in a new issue