mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 14:44:17 +01:00
* N°7157 - Allow users to unsubscribe from notification channels * Fix type hinting * Add missing dict entries * Allows to subscribe/unsubscribe from notifications individually * Refactor NotificationsService to singleton pattern * Refactor NotificationsRepository to singleton pattern and rename methods to a more functional naming * Add PHPDoc and type hints * Dump autoloaders * Replace modals with toasts * Add dict entry --------- Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
30 lines
738 B
Twig
30 lines
738 B
Twig
{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
|
|
{# @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 %}
|
|
|