mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
TemplateUsageTable: fix ipl compatibility
This commit is contained in:
parent
1e893e1bc7
commit
de2ad48c4f
@ -98,10 +98,9 @@ class TemplateUsageTable extends Table
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($used) {
|
if ($used) {
|
||||||
$this->generateHeader();
|
$this->add($rows);
|
||||||
$this->body()->add($rows);
|
|
||||||
} else {
|
} else {
|
||||||
$this->body()->add($this->translate('This template is not in use'));
|
$this->add($this->translate('This template is not in use'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user