From ab952f89b043973c8963054e7ba3f320b66f0b7a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 3 Nov 2022 00:58:38 +0100 Subject: [PATCH] ObjectSetTable: improve formatting fixes #2648 --- doc/82-Changelog.md | 1 + library/Director/Web/Table/ObjectSetTable.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index a5297e13..100b3342 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -12,6 +12,7 @@ v1.10.2 (unreleased) [roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/31?closed=1) ### UI +* FEATURE: improve Service Set table layout (#2648) * FIX: modifying single timeperiod ranges had no effect (#2525) ### Import and Sync diff --git a/library/Director/Web/Table/ObjectSetTable.php b/library/Director/Web/Table/ObjectSetTable.php index f15f318a..27738419 100644 --- a/library/Director/Web/Table/ObjectSetTable.php +++ b/library/Director/Web/Table/ObjectSetTable.php @@ -9,6 +9,7 @@ use gipfl\IcingaWeb2\Table\ZfQueryBasedTable; use gipfl\IcingaWeb2\Url; use Icinga\Module\Director\Db\DbSelectParenthesis; use Icinga\Module\Director\Restriction\FilterByNameRestriction; +use ipl\Html\Html; use Ramsey\Uuid\Uuid; class ObjectSetTable extends ZfQueryBasedTable @@ -62,7 +63,7 @@ class ObjectSetTable extends ZfQueryBasedTable $row->object_name, $row->count_services ), $url), - $row->description ? ': ' . $row->description : null + $row->description ? [Html::tag('br'), Html::tag('i', $row->description)] : null ]) ]); if (! empty($classes)) {