mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 09:14:08 +02:00
parent
16d388f4e3
commit
96ea02e59f
@ -2,5 +2,5 @@
|
|||||||
<?= /** @type \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?>
|
<?= /** @type \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?= /** @type \Icinga\Module\Doc\SectionRenderer $section */ $section ?>
|
<?= /** @type \Icinga\Module\Doc\DocSectionRenderer $section */ $section ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,7 +18,7 @@ class DocController extends ModuleActionController
|
|||||||
protected function renderChapter($path, $chapter, $url, array $urlParams = array())
|
protected function renderChapter($path, $chapter, $url, array $urlParams = array())
|
||||||
{
|
{
|
||||||
$parser = new DocParser($path);
|
$parser = new DocParser($path);
|
||||||
$section = new SectionRenderer($parser->getDocTree(), SectionRenderer::decodeUrlParam($chapter));
|
$section = new DocSectionRenderer($parser->getDocTree(), DocSectionRenderer::decodeUrlParam($chapter));
|
||||||
$this->view->section = $section
|
$this->view->section = $section
|
||||||
->setUrl($url)
|
->setUrl($url)
|
||||||
->setUrlParams($urlParams)
|
->setUrlParams($urlParams)
|
||||||
|
@ -20,7 +20,7 @@ use Icinga\Web\View;
|
|||||||
/**
|
/**
|
||||||
* Section renderer
|
* Section renderer
|
||||||
*/
|
*/
|
||||||
class SectionRenderer extends Renderer
|
class DocSectionRenderer extends Renderer
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Content to render
|
* Content to render
|
Loading…
x
Reference in New Issue
Block a user