Skip to content

Commit

Permalink
ObjectSetTable: improve formatting
Browse files Browse the repository at this point in the history
fixes #2648
  • Loading branch information
Thomas-Gelf committed Nov 2, 2022
1 parent b04f6b7 commit ab952f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/82-Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion library/Director/Web/Table/ObjectSetTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
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
Expand Down Expand Up @@ -62,7 +63,7 @@ public function renderRow($row)
$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)) {
Expand Down

0 comments on commit ab952f8

Please sign in to comment.