mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Add UIBlocks to twig (generic parser and node)
# Conflicts: # pages/run_query.php # test/VisualTest/Backoffice/RenderAllUiBlocks.php
This commit is contained in:
@@ -568,6 +568,7 @@ abstract class Controller
|
||||
break;
|
||||
}
|
||||
$this->m_oTwig->addGlobal('UIBlockParent', [$this->m_oPage]);
|
||||
$this->m_oTwig->addGlobal('oPage', $this->m_oPage);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user