mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
downtimes/details: Apply class cancel-button exclusively
This commit is contained in:
parent
e17dec44e3
commit
2805fb20bb
1 changed files with 2 additions and 3 deletions
|
|
@ -196,16 +196,15 @@ class DowntimesController extends Controller
|
|||
sprintf(t('Show all %d downtimes'), $downtimes->count())
|
||||
));
|
||||
|
||||
$this->addContent(new ActionLink(
|
||||
$this->addContent((new ActionLink(
|
||||
sprintf(t('Cancel %d downtimes'), $downtimes->count()),
|
||||
Links::downtimesDelete()->setQueryString(QueryString::render($this->getFilter())),
|
||||
'trash',
|
||||
[
|
||||
'class' => 'cancel-button',
|
||||
'data-icinga-modal' => true,
|
||||
'data-no-icinga-ajax' => true
|
||||
]
|
||||
));
|
||||
))->setAttribute('class', 'cancel-button'));
|
||||
}
|
||||
|
||||
public function completeAction()
|
||||
|
|
|
|||
Loading…
Reference in a new issue