mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
parent
a9f0aa6bcd
commit
9789aed870
@ -5,7 +5,6 @@ namespace Icinga\Web\Widget;
|
|||||||
|
|
||||||
use Icinga\Web\Navigation\Navigation;
|
use Icinga\Web\Navigation\Navigation;
|
||||||
use Icinga\Web\Navigation\NavigationItem;
|
use Icinga\Web\Navigation\NavigationItem;
|
||||||
use Icinga\Web\Navigation\NavigationRenderer;
|
|
||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -102,10 +101,10 @@ class Limiter extends AbstractWidget
|
|||||||
->setLabel(t('all'));
|
->setLabel(t('all'));
|
||||||
$navigation->addItem($navigationItem);
|
$navigation->addItem($navigationItem);
|
||||||
}
|
}
|
||||||
$navigationRenderer = new NavigationRenderer($navigation);
|
return $navigation
|
||||||
$navigationRenderer
|
->getRenderer()
|
||||||
->setCssClass(static::CSS_CLASS_LIMITER)
|
->setCssClass(static::CSS_CLASS_LIMITER)
|
||||||
->setHeading(t('Limiter'));
|
->setHeading(t('Limiter'))
|
||||||
return $navigationRenderer->render();
|
->render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user