blob: 0a009867001a4278db7e4a42e0055b49210b12dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */
namespace Icinga\Module\Icingadb\Widget\ItemList;
use Icinga\Module\Icingadb\Common\ListItemCommonLayout;
use ipl\Html\BaseHtmlElement;
class DowntimeListItem extends BaseDowntimeListItem
{
use ListItemCommonLayout;
protected function assembleMain(BaseHtmlElement $main)
{
if ($this->item->is_in_effect) {
$main->add($this->createProgress());
}
$main->add($this->createHeader());
$main->add($this->createCaption());
}
}
|