mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-11 12:04:12 +01:00
21 lines
839 B
Twig
21 lines
839 B
Twig
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
|
{% apply spaceless %}
|
|
|
|
{% if oUIBlock.bEmptySet or oUIBlock.bNotAuthorized %}
|
|
<div class="ibo-blocklist--empty-text">{{ 'UI:NoObjectToDisplay'|dict_s }}</div>
|
|
{% endif %}
|
|
|
|
{% if oUIBlock.bCreateNew %}
|
|
<div class="ibo-blocklist--create-new">
|
|
<a{{ oUIBlock.sLinkTarget }} href="{{ oUIBlock.sAbsoluteUrlAppRoot }}pages/UI.php?operation=new&class={{ oUIBlock.sClass }}&{{ oUIBlock.sParams }}{{ oUIBlock.sDefault }}">
|
|
{{ 'UI:ClickToCreateNew'|dict_format(oUIBlock.sClassLabel) }}
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
|
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
|
{% endfor %}
|
|
|
|
{% endapply %} |