Skip to content

Commit

Permalink
TemplateUsageTable: show header
Browse files Browse the repository at this point in the history
fixes #2780
  • Loading branch information
Thomas-Gelf committed Jul 30, 2023
1 parent 8e4ebb7 commit 388f743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/82-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions library/Director/Web/Table/TemplateUsageTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ protected function __construct(IcingaObject $template)
}

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'));
Expand Down

0 comments on commit 388f743

Please sign in to comment.