mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
GroupMemberTable, SelfServiceController: cs
This commit is contained in:
parent
0c7e3eee41
commit
46d24e7600
@ -79,11 +79,11 @@ class SelfServiceController extends ActionController
|
|||||||
|
|
||||||
$form->handleRequest();
|
$form->handleRequest();
|
||||||
$this->addSingleTab($this->translate('Self Service'))
|
$this->addSingleTab($this->translate('Self Service'))
|
||||||
->addTitle($this->translate('Self Service - Host Registration'))
|
->addTitle($this->translate('Self Service - Host Registration'))
|
||||||
->content()->add(Html::p($this->translate(
|
->content()->add(Html::p($this->translate(
|
||||||
'In case an Icinga Admin provided you with a self service API'
|
'In case an Icinga Admin provided you with a self service API'
|
||||||
. ' token, this is where you can register new hosts'
|
. ' token, this is where you can register new hosts'
|
||||||
)))
|
)))
|
||||||
->add($form);
|
->add($form);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,13 +91,13 @@ class GroupMemberTable extends ZfQueryBasedTable
|
|||||||
|
|
||||||
if ($this->group === null) {
|
if ($this->group === null) {
|
||||||
$tr->add($this::td($row->group_name));
|
$tr->add($this::td($row->group_name));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$tr->add([
|
$tr->add([
|
||||||
$this::td(Link::create($row->object_name, $url)),
|
$this::td(Link::create($row->object_name, $url)),
|
||||||
$this::td($row->membership_type)
|
$this::td($row->membership_type)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $tr;
|
return $tr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user