IcingaServiceSetServiceTable: show "deactivated"
...in RO users overview table fixes #2344
This commit is contained in:
parent
2538feaf42
commit
bf32380d32
|
@ -30,6 +30,7 @@ next (will be 1.9.0)
|
||||||
* FIX: Overrides for Services belonging to Sets on root Host Templates (#2333)
|
* FIX: Overrides for Services belonging to Sets on root Host Templates (#2333)
|
||||||
* FIX: Service Set preview inline Service Template links (#2334)
|
* FIX: Service Set preview inline Service Template links (#2334)
|
||||||
* FIX: Links to duplicate services in Sets didn't check for deactivation (#2323)
|
* 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: show "deprecated" flag on object attribute inspection (#2312)
|
||||||
* FEATURE: Service Template for single Host services provides auto-completion (#1974)
|
* FEATURE: Service Template for single Host services provides auto-completion (#1974)
|
||||||
|
|
||||||
|
|
|
@ -105,10 +105,10 @@ class IcingaServiceSetServiceTable extends ZfQueryBasedTable
|
||||||
{
|
{
|
||||||
if ($this->readonly) {
|
if ($this->readonly) {
|
||||||
if ($this->highlightedService === $row->service) {
|
if ($this->highlightedService === $row->service) {
|
||||||
return Html::tag('span', ['class' => 'icon-right-big'], $row->service);
|
return Html::tag('span', ['class' => 'ro-service icon-right-big'], $row->service);
|
||||||
} else {
|
|
||||||
return $row->service;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Html::tag('span', ['class' => 'ro-service'], $row->service);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->affectedHost) {
|
if ($this->affectedHost) {
|
||||||
|
|
|
@ -453,6 +453,9 @@ form dl {
|
||||||
text-decoration: line-through;
|
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
|
// TODO: figure out whether form.editor and filter-related CSS is still required
|
||||||
div.filter > form.search, div.filter > a {
|
div.filter > form.search, div.filter > a {
|
||||||
|
|
Loading…
Reference in New Issue