mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
ServiceController: offer assign only for apply
This commit is contained in:
parent
39f789aa7b
commit
0e11d60928
@ -11,7 +11,7 @@ class ServiceController extends ObjectController
|
|||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
parent::init();
|
parent::init();
|
||||||
if ($this->object) {
|
if ($this->object && $this->object->object_type === 'apply') {
|
||||||
$this->getTabs()->add('assign', array(
|
$this->getTabs()->add('assign', array(
|
||||||
'url' => 'director/service/assign',
|
'url' => 'director/service/assign',
|
||||||
'urlParams' => array('name' => $this->object->object_name),
|
'urlParams' => array('name' => $this->object->object_name),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user