mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
Set comment and downtime name in the detail views
This commit is contained in:
parent
01bee4641d
commit
067de6b7f4
@ -60,7 +60,8 @@ if (empty($object->comments) && ! $addLink) {
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'comment_id' => $comment->id,
|
||||
'comment_is_service' => isset($comment->service_description)
|
||||
'comment_is_service' => isset($comment->service_description),
|
||||
'comment_name' => $comment->name
|
||||
)
|
||||
);
|
||||
echo $deleteButton;
|
||||
|
@ -89,7 +89,8 @@ if (empty($object->comments) && ! $addLink) {
|
||||
$deleteButton->populate(
|
||||
array(
|
||||
'downtime_id' => $downtime->id,
|
||||
'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE
|
||||
'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE,
|
||||
'downtime_name' => $downtime->name
|
||||
)
|
||||
);
|
||||
echo $deleteButton;
|
||||
|
Loading…
x
Reference in New Issue
Block a user