monitoring/CSS: Use action-link on schedule downtime links

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 18:00:03 +02:00
parent e782fcb859
commit 3f33cd72c6
1 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,9 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) {
'monitoring/host/schedule-downtime',
array('host' => $object->getName()),
array(
'icon' => 'plug',
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'plug',
'title' => $this->translate(
'Schedule a downtime to suppress all problem notifications within a specific period of time'
)
@ -21,8 +22,9 @@ if ($this->hasPermission('monitoring/command/downtime/schedule')) {
'monitoring/service/schedule-downtime',
array('host' => $object->getHost()->getName(), 'service' => $object->getName()),
array(
'icon' => 'plug',
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'plug',
'title' => $this->translate(
'Schedule a downtime to suppress all problem notifications within a specific period of time'
)
@ -75,8 +77,8 @@ if (empty($object->comments) && ! $addLink) {
$deleteButton = clone($delDowntimeForm);
$deleteButton->populate(
array(
'downtime_id' => $downtime->id,
'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE
'downtime_id' => $downtime->id,
'downtime_is_service' => $object->getType() === $object::TYPE_SERVICE
)
);
} else {