mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Host applied services: route links to _self
This commit is contained in:
parent
9fbc523ffd
commit
8f15fe3c0e
@ -28,7 +28,9 @@ class IcingaHostAppliedForServiceTable extends SimpleQueryBasedTable
|
|||||||
*/
|
*/
|
||||||
public static function load(IcingaHost $host, CustomVariableDictionary $dict)
|
public static function load(IcingaHost $host, CustomVariableDictionary $dict)
|
||||||
{
|
{
|
||||||
return (new static())->setHost($host)->setDictionary($dict);
|
$table = (new static())->setHost($host)->setDictionary($dict);
|
||||||
|
$table->attributes()->set('data-base-target', '_self');
|
||||||
|
return $table;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDictionary(CustomVariableDictionary $dict)
|
public function setDictionary(CustomVariableDictionary $dict)
|
||||||
|
@ -27,7 +27,9 @@ class IcingaHostAppliedServicesTable extends SimpleQueryBasedTable
|
|||||||
*/
|
*/
|
||||||
public static function load(IcingaHost $host)
|
public static function load(IcingaHost $host)
|
||||||
{
|
{
|
||||||
return (new static())->setHost($host);
|
$table = (new static())->setHost($host);
|
||||||
|
$table->attributes()->set('data-base-target', '_self');
|
||||||
|
return $table;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setTitle($title)
|
public function setTitle($title)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user