GroupMemberTable, SelfServiceController: cs

This commit is contained in:
Thomas Gelf 2017-07-12 10:40:50 +02:00
parent 0c7e3eee41
commit 46d24e7600
2 changed files with 4 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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;
} }