TemplateUsageTable: show header

fixes #2780
This commit is contained in:
Thomas Gelf 2023-07-30 20:39:21 +02:00
parent 8e4ebb79d7
commit 388f743290
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ This version hasn't been released yet
* FEATURE: Show more details for assign filter parsing errors (#2667)
* FIX: do not fail for (some) Service Dependencies (#2669, #1142)
* FIX: Service Sets can now be searched by Service name in branches too (#2738)
* FIX: Template usage table had no header (#2780)
### Icinga Configuration
* FEATURE: render fallback template for IfW 1.11 for Icinga < 2.14 (#2776)

View File

@ -98,6 +98,7 @@ class TemplateUsageTable extends Table
}
if ($used) {
$this->getHeader()->add(Table::row($this->getColumnsToBeRendered(), null, 'th'));
$this->add($rows);
} else {
$this->add($this->translate('This template is not in use'));