<#include "/admin/util/editor/editor.html" /> <#assign pane="pane-desk"> <@input type='hidden' name='activeOnglet' value='${config.setOnglet}' id='activeOngletHere' /> <@messages errors=errors />

#i18n{module.workflow.alertgru.task_alert_gru_config.title}

<#if list_alert_config?exists> <@formGroup formStyle='inline' labelFor='' labelKey='' hideLabel=['all']> <@inputGroup> <@select name='added_alert_config' items=list_alert_config default_value='0' size='sm' /> <@inputGroupItem> <@button type='submit' name='apply' value='AddAlertConfig' buttonIcon='plus-circle' title='#i18n{module.workflow.alertgru.task_alert_gru_config.label_config_choose}' hideTitle=['all'] size='sm' /> <#if config.idSpringProvider?has_content > <@button style='modal' buttonTargetId='#config_global' params='data-backdrop="static" data-keyboard="false"' buttonIcon='wrench' title='#i18n{module.workflow.alertgru.task_alert_gru_config.label_config_advance}' size='sm' />
<@tabs> <@tabList id='tabs'> <#if config.activeOngletGuichet> <#if pane='pane-desk'><#assign active = true /><#else><#assign active = false /> <@tabLink id='0' active=active href='#pane-desk' title='#i18n{module.workflow.alertgru.notification.config.title.guichet}' /> <#if config.activeOngletAgent> <#if pane='pane-agent'><#assign active = true /><#else><#assign active = false /> <@tabLink id='1' active=active href='#pane-agent' title='#i18n{module.workflow.alertgru.notification.config.title.agent}' /> <#if config.activeOngletEmail> <#if pane='pane-email'><#assign active = true /><#else><#assign active = false /> <@tabLink id='2' active=active href='#pane-email' title='#i18n{module.workflow.alertgru.notification.config.title.email}' /> <#if config.activeOngletSMS> <#if pane='pane-sms'><#assign active = true /><#else><#assign active = false /> <@tabLink id='3' active=active href='#pane-sms' title='#i18n{module.workflow.alertgru.notification.config.title.sms}' /> <#if config.activeOngletBroadcast> <#if pane='pane-mailing-list'><#assign active = true /><#else><#assign active = false /> <@tabLink id='4' active=active href='#pane-mailing-list' title='#i18n{module.workflow.alertgru.notification.config.title.broadcast}' /> <@tabContent> <#if config.activeOngletGuichet> <#if pane='pane-desk'><#assign active = true /><#else><#assign active = false /> <@tabPanel id='pane-desk' active=active> <#include "config_guichet.html" /> <#if config.activeOngletAgent> <#if pane='pane-agent'><#assign active = true /><#else><#assign active = false /> <@tabPanel id='pane-agent' active=active> <#include "config_agent.html" /> <#if config.activeOngletEmail> <#if pane='pane-email'><#assign active = true /><#else><#assign active = false /> <@tabPanel id='pane-email' active=active> <#include "config_email.html" /> <#if config.activeOngletSMS> <#if pane='pane-sms'><#assign active = true /><#else><#assign active = false /> <@tabPanel id='pane-sms' active=active> <#include "config_sms.html" /> <#if config.activeOngletBroadcast> <#if pane='pane-mailing-list'><#assign active = true /><#else><#assign active = false /> <@tabPanel id='pane-mailing-list' active=active> <#include "config_mailing_list.html" /> <@modal id='config_global'> <@modalHeader modalTitle='#i18n{module.workflow.alertgru.task_alert_gru_config.label_global_config}' /> <@modalBody> <#include "config_global.html" /> <@formGroup labelFor='crm_status_id' labelKey='#i18n{module.workflow.alertgru.task_alert_gru_config.commune_id_crm}' helpKey='#i18n{module.workflow.alertgru.task_alert_gru_config.commune_id_crm_helper}' mandatory=true> <#if config.crmStatusId?has_content && config.crmStatusId!=-1> <@input type='number' name='crm_status_id' value='${config.crmStatusId}' maxlength=255 /> <#else> <@input type='number' name='crm_status_id' value='1' maxlength=255 /> <@modalFooter> <@button type='submit' name='apply' value='saveAdvancedConfig' buttonIcon='check' title='#i18n{workflow.modify_task.button_save}' /> <@button type='submit' name='apply' value='cancelAdvancedConfig' buttonIcon='times' title='#i18n{workflow.modify_task.button_cancel}' cancel=true />
<@initEditor />