mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 20:18:52 +02:00
N°3190 - Edit n:n LinkedSetIndirect in object details using a tagset-like widget
- 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
This commit is contained in:
26
templates/base/components/input/set/layout.html.twig
Normal file
26
templates/base/components/input/set/layout.html.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
{# @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 %}
|
||||
|
||||
Reference in New Issue
Block a user