mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-15 23:08:11 +02:00
CoreApiFieldsTable: fix legacy ipl syntax
This commit is contained in:
parent
c5c2333da7
commit
71cc5939d3
@ -3,6 +3,7 @@
|
||||
namespace Icinga\Module\Director\Web\Table;
|
||||
|
||||
use dipl\Html\BaseHtmlElement;
|
||||
use dipl\Html\Html;
|
||||
use dipl\Html\Link;
|
||||
use dipl\Html\Table;
|
||||
use dipl\Translation\TranslationHelper;
|
||||
@ -62,7 +63,7 @@ class CoreApiFieldsTable extends Table
|
||||
|
||||
protected function makeBooleanColumn($value)
|
||||
{
|
||||
return $this::td($value ? $this::strong('true') : 'false');
|
||||
return $this::td($value ? Html::tag('strong', 'true') : 'false');
|
||||
}
|
||||
|
||||
public function getColumnsToBeRendered()
|
||||
|
Loading…
x
Reference in New Issue
Block a user