mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +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:
29
templates/application/object/set/option_renderer.html.twig
Normal file
29
templates/application/object/set/option_renderer.html.twig
Normal file
@@ -0,0 +1,29 @@
|
||||
<div class="option ibo-input-select--autocomplete-item" role="option" >
|
||||
|
||||
{# Image #}
|
||||
<span class="ibo-input-select--autocomplete-item-image" data-template-condition="has_image" data-template-css-background-image="picture_url" data-template-text="initials"></span>
|
||||
|
||||
{# Desc #}
|
||||
<span class="ibo-input-select--autocomplete-item-txt">
|
||||
|
||||
{# Obsolescnce #}
|
||||
<span class="object-ref-icon text_decoration" data-template-condition="obsolescence_flag">
|
||||
<span class="fas fa-eye-slash object-obsolete fa-1x fa-fw"></span>
|
||||
</span>
|
||||
|
||||
{# Friendly name #}
|
||||
<span data-template-text="friendlyname"></span>
|
||||
|
||||
{# Additional content #}
|
||||
{% block additional_content %}
|
||||
{% endblock %}
|
||||
|
||||
{# Additional field #}
|
||||
<div>
|
||||
<i data-template-text="additional_field"></i>
|
||||
</div>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user