diff --git a/application/controllers/DowntimeController.php b/application/controllers/DowntimeController.php index f833e02f..51f80372 100644 --- a/application/controllers/DowntimeController.php +++ b/application/controllers/DowntimeController.php @@ -10,7 +10,7 @@ use Icinga\Module\Icingadb\Common\Links; use Icinga\Module\Icingadb\Model\Downtime; use Icinga\Module\Icingadb\Web\Controller; use Icinga\Module\Icingadb\Widget\Detail\DowntimeDetail; -use Icinga\Module\Icingadb\Widget\DowntimeList; +use Icinga\Module\Icingadb\Widget\ItemList\DowntimeList; class DowntimeController extends Controller { diff --git a/application/controllers/DowntimesController.php b/application/controllers/DowntimesController.php index 8b0659e3..d990ded2 100644 --- a/application/controllers/DowntimesController.php +++ b/application/controllers/DowntimesController.php @@ -10,7 +10,7 @@ use Icinga\Module\Icingadb\Forms\Command\Object\DeleteDowntimeForm; use Icinga\Module\Icingadb\Model\Downtime; use Icinga\Module\Icingadb\Web\Control\SearchBar\ObjectSuggestions; use Icinga\Module\Icingadb\Web\Controller; -use Icinga\Module\Icingadb\Widget\DowntimeList; +use Icinga\Module\Icingadb\Widget\ItemList\DowntimeList; use Icinga\Module\Icingadb\Widget\ShowMore; use Icinga\Module\Icingadb\Widget\ViewModeSwitcher; use ipl\Web\Control\LimitControl; diff --git a/library/Icingadb/Widget/Detail/DowntimeDetail.php b/library/Icingadb/Widget/Detail/DowntimeDetail.php index eaad803e..41cd07d6 100644 --- a/library/Icingadb/Widget/Detail/DowntimeDetail.php +++ b/library/Icingadb/Widget/Detail/DowntimeDetail.php @@ -14,7 +14,7 @@ use Icinga\Module\Icingadb\Common\MarkdownText; use Icinga\Module\Icingadb\Common\ServiceLink; use Icinga\Module\Icingadb\Forms\Command\Object\DeleteDowntimeForm; use Icinga\Module\Icingadb\Model\Downtime; -use Icinga\Module\Icingadb\Widget\DowntimeList; +use Icinga\Module\Icingadb\Widget\ItemList\DowntimeList; use Icinga\Module\Icingadb\Widget\HorizontalKeyValue; use Icinga\Module\Icingadb\Widget\ShowMore; use ipl\Html\BaseHtmlElement; diff --git a/library/Icingadb/Widget/Detail/ObjectDetail.php b/library/Icingadb/Widget/Detail/ObjectDetail.php index ee814078..7c516b50 100644 --- a/library/Icingadb/Widget/Detail/ObjectDetail.php +++ b/library/Icingadb/Widget/Detail/ObjectDetail.php @@ -25,7 +25,7 @@ use Icinga\Module\Icingadb\Model\Host; use Icinga\Module\Icingadb\Model\User; use Icinga\Module\Icingadb\Model\Usergroup; use Icinga\Module\Icingadb\Util\PluginOutput; -use Icinga\Module\Icingadb\Widget\DowntimeList; +use Icinga\Module\Icingadb\Widget\ItemList\DowntimeList; use Icinga\Module\Icingadb\Widget\EmptyState; use Icinga\Module\Icingadb\Widget\HorizontalKeyValue; use Icinga\Module\Icingadb\Widget\ItemList\CommentList; diff --git a/library/Icingadb/Widget/ItemList/BaseDowntimeListItem.php b/library/Icingadb/Widget/ItemList/BaseDowntimeListItem.php index 2b30d492..ebdc643c 100644 --- a/library/Icingadb/Widget/ItemList/BaseDowntimeListItem.php +++ b/library/Icingadb/Widget/ItemList/BaseDowntimeListItem.php @@ -14,7 +14,7 @@ use Icinga\Module\Icingadb\Common\ObjectLinkDisabled; use Icinga\Module\Icingadb\Common\ServiceLink; use Icinga\Module\Icingadb\Model\Downtime; use Icinga\Module\Icingadb\Common\BaseListItem; -use Icinga\Module\Icingadb\Widget\DowntimeList; +use Icinga\Module\Icingadb\Widget\ItemList\DowntimeList; use ipl\Html\Attributes; use ipl\Html\BaseHtmlElement; use ipl\Html\Html; diff --git a/library/Icingadb/Widget/DowntimeList.php b/library/Icingadb/Widget/ItemList/DowntimeList.php similarity index 90% rename from library/Icingadb/Widget/DowntimeList.php rename to library/Icingadb/Widget/ItemList/DowntimeList.php index 0533e50a..c502326d 100644 --- a/library/Icingadb/Widget/DowntimeList.php +++ b/library/Icingadb/Widget/ItemList/DowntimeList.php @@ -2,7 +2,7 @@ /* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */ -namespace Icinga\Module\Icingadb\Widget; +namespace Icinga\Module\Icingadb\Widget\ItemList; use Icinga\Module\Icingadb\Common\BaseItemList; use Icinga\Module\Icingadb\Common\CaptionDisabled; @@ -10,7 +10,7 @@ use Icinga\Module\Icingadb\Common\Links; use Icinga\Module\Icingadb\Common\NoSubjectLink; use Icinga\Module\Icingadb\Common\ObjectLinkDisabled; use Icinga\Module\Icingadb\Common\ViewMode; -use Icinga\Module\Icingadb\Widget\ItemList\DowntimeListItemMinimal; +use Icinga\Module\Icingadb\Widget\DowntimeListItem; use ipl\Web\Url; class DowntimeList extends BaseItemList