IcingaServiceSetServiceTable: show "deactivated"

...in RO users overview table

fixes #2344
This commit is contained in:
Thomas Gelf 2021-06-23 18:29:56 +02:00
parent 2538feaf42
commit bf32380d32
3 changed files with 7 additions and 3 deletions

View File

@ -30,6 +30,7 @@ next (will be 1.9.0)
* FIX: Overrides for Services belonging to Sets on root Host Templates (#2333)
* FIX: Service Set preview inline Service Template links (#2334)
* FIX: Links to duplicate services in Sets didn't check for deactivation (#2323)
* FIX: show "deactivated" services as such also for read-only users (#2344)
* FEATURE: show "deprecated" flag on object attribute inspection (#2312)
* FEATURE: Service Template for single Host services provides auto-completion (#1974)

View File

@ -105,10 +105,10 @@ class IcingaServiceSetServiceTable extends ZfQueryBasedTable
{
if ($this->readonly) {
if ($this->highlightedService === $row->service) {
return Html::tag('span', ['class' => 'icon-right-big'], $row->service);
} else {
return $row->service;
return Html::tag('span', ['class' => 'ro-service icon-right-big'], $row->service);
}
return Html::tag('span', ['class' => 'ro-service'], $row->service);
}
if ($this->affectedHost) {

View File

@ -453,6 +453,9 @@ form dl {
text-decoration: line-through;
}
}
.strike-links span.ro-service {
text-decoration: line-through;
}
// TODO: figure out whether form.editor and filter-related CSS is still required
div.filter > form.search, div.filter > a {