ObjectSetTable: improve formatting

fixes #2648
This commit is contained in:
Thomas Gelf 2022-11-03 00:58:38 +01:00
parent b04f6b7e98
commit ab952f89b0
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ v1.10.2 (unreleased)
[roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/31?closed=1) [roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/31?closed=1)
### UI ### UI
* FEATURE: improve Service Set table layout (#2648)
* FIX: modifying single timeperiod ranges had no effect (#2525) * FIX: modifying single timeperiod ranges had no effect (#2525)
### Import and Sync ### Import and Sync

View File

@ -9,6 +9,7 @@ use gipfl\IcingaWeb2\Table\ZfQueryBasedTable;
use gipfl\IcingaWeb2\Url; use gipfl\IcingaWeb2\Url;
use Icinga\Module\Director\Db\DbSelectParenthesis; use Icinga\Module\Director\Db\DbSelectParenthesis;
use Icinga\Module\Director\Restriction\FilterByNameRestriction; use Icinga\Module\Director\Restriction\FilterByNameRestriction;
use ipl\Html\Html;
use Ramsey\Uuid\Uuid; use Ramsey\Uuid\Uuid;
class ObjectSetTable extends ZfQueryBasedTable class ObjectSetTable extends ZfQueryBasedTable
@ -62,7 +63,7 @@ class ObjectSetTable extends ZfQueryBasedTable
$row->object_name, $row->object_name,
$row->count_services $row->count_services
), $url), ), $url),
$row->description ? ': ' . $row->description : null $row->description ? [Html::tag('br'), Html::tag('i', $row->description)] : null
]) ])
]); ]);
if (! empty($classes)) { if (! empty($classes)) {