summaryrefslogtreecommitdiffstats
path: root/library/Icingadb/Widget/ItemList/DowntimeListItemMinimal.php
blob: 58ef3d86042f31b7c535d1b0f8e547b2ed0c23b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */

namespace Icinga\Module\Icingadb\Widget\ItemList;

use Icinga\Module\Icingadb\Common\ListItemMinimalLayout;

class DowntimeListItemMinimal extends BaseDowntimeListItem
{
    use ListItemMinimalLayout;

    protected function init()
    {
        parent::init();

        if ($this->list->isCaptionDisabled()) {
            $this->setCaptionDisabled();
        }
    }
}