#i18n{module.workflow.notifydirectory.task_notify_directory_config.title}

<#if config?exists && config.notifyByEmail && !config.notifyBySms> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email} <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email} <#if config?exists && !config.notifyByEmail && config.notifyBySms> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_sms} <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_sms} <#if config?exists && config.notifyByEmail && config.notifyBySms> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email_sms} <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email_sms}

<@combo name="id_directory" items=list_directory default_value=config.idDirectory />

<#if list_entry_directory?exists>

<@combo name="position_entry_directory_email" items=list_entry_directory default_value=config.positionEntryDirectoryEmail /> 
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_entry_directory_email_comment}

<#if list_entry_directory?exists>

<@combo name="position_entry_directory_sms" items=list_entry_directory default_value=config.positionEntryDirectorySms /> 
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_entry_directory_sms_comment}

<#if config?exists && config.senderName?has_content> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_sender_name_comment}

<#if config?exists && config.subject?has_content> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_subject_comment}

<#if config?exists && config.message?has_content> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_message_comment}

<#if config?exists && config.idDirectory!=-1>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker_status} : ${status}

#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker_directory_title} : ${directory_title}

#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker_directory_description} : ${directory_description}

#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_directory_comment} :

<#list entry_list_freemarker as entry>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_entry} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_entry_freemarker}
${entry.title} ${position_${entry.position}}

<#if config?exists && config.emailValidation> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email_validation_comment}

#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker_link}

<#if config?exists && config.labelLink?has_content> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_label_link_comment}

<@combo name="id_state" items=list_state default_value=config.idStateAfterValidation />
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_state_comment}

<#if config?exists && config.messageValidation?has_content> <#else>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_message_validation_comment}

<#if config?exists && config.periodValidity!=-1>  #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_period_validity_unit} <#else>  #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_period_validity_unit}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_period_validity_comment}