mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
- Add ancestors CSS classes on UIBlocks when missing (programmatically) - Fix SCSS due to some blocks inheriting their ancestors rules
18 lines
765 B
Twig
18 lines
765 B
Twig
<nav id="{{ oUIBlock.GetId() }}" class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}" data-role="ibo-top-bar">
|
|
<div class="ibo-top-bar--quick-actions" data-role="ibo-top-bar--quick-actions">
|
|
{% if oUIBlock.HasQuickCreate() %}
|
|
{{ render_block(oUIBlock.GetQuickCreate(), {aPage: aPage}) }}
|
|
{% endif %}
|
|
{% if oUIBlock.HasGlobalSearch() %}
|
|
{{ render_block(oUIBlock.GetGlobalSearch(), {aPage: aPage}) }}
|
|
{% endif %}
|
|
</div>
|
|
{% if oUIBlock.HasBreadcrumbs() %}
|
|
{{ render_block(oUIBlock.GetBreadcrumbs(), {aPage: aPage}) }}
|
|
{% endif %}
|
|
{% if oUIBlock.HasToolBar() %}
|
|
<div class="ibo-top-bar--toolbar">
|
|
{{ render_block(oUIBlock.GetToolBar(), {aPage: aPage}) }}
|
|
</div>
|
|
{% endif %}
|
|
</nav> |