diff --git a/library/Notifications/Widget/ItemList/ChannelList.php b/library/Notifications/Widget/ItemList/ChannelList.php index 86055e896..25e97e09f 100644 --- a/library/Notifications/Widget/ItemList/ChannelList.php +++ b/library/Notifications/Widget/ItemList/ChannelList.php @@ -11,7 +11,7 @@ */ class ChannelList extends BaseItemList { - protected $defaultAttributes = ['class' => 'channel-list']; + protected $defaultAttributes = ['class' => ['action-list', 'channel-list']]; protected function getItemClass(): string { diff --git a/library/Notifications/Widget/ItemList/ContactList.php b/library/Notifications/Widget/ItemList/ContactList.php index c5bfebce9..7735a1154 100644 --- a/library/Notifications/Widget/ItemList/ContactList.php +++ b/library/Notifications/Widget/ItemList/ContactList.php @@ -8,7 +8,7 @@ class ContactList extends BaseItemList { - protected $defaultAttributes = ['class' => 'contact-list']; + protected $defaultAttributes = ['class' => ['action-list', 'contact-list']]; protected function getItemClass(): string { diff --git a/library/Notifications/Widget/ItemList/EventList.php b/library/Notifications/Widget/ItemList/EventList.php index 739c9d8ba..2ef47006a 100644 --- a/library/Notifications/Widget/ItemList/EventList.php +++ b/library/Notifications/Widget/ItemList/EventList.php @@ -14,7 +14,7 @@ class EventList extends BaseItemList use LoadMore; use NoSubjectLink; - protected $defaultAttributes = ['class' => 'event-list']; + protected $defaultAttributes = ['class' => ['action-list', 'event-list']]; /** @var ResultSet */ protected $data; diff --git a/library/Notifications/Widget/ItemList/EventRuleList.php b/library/Notifications/Widget/ItemList/EventRuleList.php index 01678e5fb..533448fcf 100644 --- a/library/Notifications/Widget/ItemList/EventRuleList.php +++ b/library/Notifications/Widget/ItemList/EventRuleList.php @@ -5,14 +5,13 @@ namespace Icinga\Module\Notifications\Widget\ItemList; use Icinga\Module\Notifications\Common\LoadMore; -use ipl\Orm\ResultSet; use ipl\Web\Common\BaseItemList; class EventRuleList extends BaseItemList { use LoadMore; - protected $defaultAttributes = ['class' => 'event-rule-list']; + protected $defaultAttributes = ['class' => ['action-list', 'event-rule-list']]; protected function getItemClass(): string { diff --git a/library/Notifications/Widget/ItemList/IncidentContactList.php b/library/Notifications/Widget/ItemList/IncidentContactList.php index 51776f1bb..93cee140d 100644 --- a/library/Notifications/Widget/ItemList/IncidentContactList.php +++ b/library/Notifications/Widget/ItemList/IncidentContactList.php @@ -8,7 +8,7 @@ class IncidentContactList extends BaseItemList { - protected $defaultAttributes = ['class' => ['minimal', 'incident-contact-list']]; + protected $defaultAttributes = ['class' => ['action-list', 'minimal', 'incident-contact-list']]; protected function getItemClass(): string { diff --git a/library/Notifications/Widget/ItemList/IncidentHistoryList.php b/library/Notifications/Widget/ItemList/IncidentHistoryList.php index 51a7a9775..cbd6ac424 100644 --- a/library/Notifications/Widget/ItemList/IncidentHistoryList.php +++ b/library/Notifications/Widget/ItemList/IncidentHistoryList.php @@ -8,7 +8,7 @@ class IncidentHistoryList extends BaseItemList { - protected $defaultAttributes = ['class' => 'minimal']; + protected $defaultAttributes = ['class' => ['action-list', 'minimal']]; protected function getItemClass(): string { diff --git a/library/Notifications/Widget/ItemList/IncidentList.php b/library/Notifications/Widget/ItemList/IncidentList.php index dd88de653..9992f1d52 100644 --- a/library/Notifications/Widget/ItemList/IncidentList.php +++ b/library/Notifications/Widget/ItemList/IncidentList.php @@ -11,7 +11,7 @@ class IncidentList extends BaseItemList { use NoSubjectLink; - protected $defaultAttributes = ['class' => 'incident-list']; + protected $defaultAttributes = ['class' => ['action-list', 'incident-list']]; protected function getItemClass(): string {