mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +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) {
|
||||
$this->generateHeader();
|
||||
$this->body()->add($rows);
|
||||
$this->add($rows);
|
||||
} 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