icingaweb2/modules/monitoring/application/views/scripts/show/components/customvars.phtml

24 lines
646 B
PHTML
Raw Normal View History

2013-10-07 16:46:20 +02:00
<div class="panel panel-default">
<div class="panel-heading">
<span>Customvariables</span>
</div>
<div class="panel-body">
2013-10-07 16:46:20 +02:00
<?php if (isset($object->customvars) && count($object->customvars)) { ?>
<table>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
<?php foreach ($object->customvars as $name => $value) { ?>
<tr>
<td><?= $this->escape($name) ?></td>
<td><?= $this->escape($value) ?></td>
</tr>
<?php } ?>
</table>
2013-10-07 16:46:20 +02:00
<?php } ?>
</div>
</div>