mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
30 lines
737 B
Twig
30 lines
737 B
Twig
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
|
|
|
{# Set ui block #}
|
|
<select
|
|
id="{{ oUIBlock.GetId() }}"
|
|
name="{{ oUIBlock.GetName() }}"
|
|
multiple
|
|
style="display: none;"
|
|
{% if oUIBlock.IsDisabled() == true %}
|
|
disabled
|
|
{% endif %}
|
|
>
|
|
</select>
|
|
|
|
{# Options template #}
|
|
{% if oUIBlock.HasOptionsTemplate() %}
|
|
<template id="{{ oUIBlock.GetId() }}_options_template">
|
|
{% include oUIBlock.GetOptionsTemplate() %}
|
|
</template>
|
|
{% endif %}
|
|
|
|
{# Items template #}
|
|
{% if oUIBlock.HasItemsTemplate() %}
|
|
<template id="{{ oUIBlock.GetId() }}_items_template">
|
|
{% include oUIBlock.GetItemsTemplate() %}
|
|
</template>
|
|
{% endif %}
|
|
|