mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-12 04:24:12 +01:00
- Add generic set block ui component - Add model link set (direct and indirect) attribute (display style) - Add model link set direct allowed values - Create link set viewer block UI (BlockLinksSetDisplayAsProperty) - Add set block ui factory for linkset - Add object factory and create new endpoint in object controller (with data binder) - Add link set model, link set repository and link set data transformer services
27 lines
662 B
Twig
27 lines
662 B
Twig
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
|
|
|
{# Set ui block #}
|
|
<select
|
|
id="{{ oUIBlock.GetId() }}"
|
|
name="{{ oUIBlock.GetName() }}"
|
|
multiple
|
|
style="display: none;"
|
|
>
|
|
</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 %}
|
|
|