<#include "/admin/util/editor/editor.html" /> <#assign id_directory = -1> <#assign id_mailing_list = -1> <#assign position_entry_directory_sms = -1> <#assign position_entry_directory_email = -1> <#assign position_entry_directory_user_guid = -1> <#assign id_state_after_validation = -1> <#if config?exists> <#assign id_directory = config.idDirectory> <#assign id_mailing_list = config.idMailingList> <#assign position_entry_directory_sms = config.positionEntryDirectorySms> <#assign position_entry_directory_email = config.positionEntryDirectoryEmail> <#assign position_entry_directory_user_guid = config.positionEntryDirectoryUserGuid> <#assign id_state_after_validation = config.idStateAfterValidation> <#function isSelected entry default_values > <#if default_values?has_content> <#list default_values as default_value> <#if default_value=entry> <#return true> <#return false>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.title}
<@comboWithParams name="id_directory" default_value=id_directory?string additionalParameters="class=\"form-control input-sm\"" items=list_directory />
<#if mailing_list?exists>
<@comboWithParams name="id_mailing_list" items=mailing_list default_value="${config.idMailingList!}" additionalParameters="class='form-control input-sm'" /> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_mailing_list_comment}
<#if list_entries_email_sms?exists>
<@comboWithParams name="position_entry_directory_sms" items=list_entries_email_sms default_value="position_entry_directory_sms" additionalParameters="class='form-control input-sm'" /> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_entry_directory_sms_comment}
<#if list_entries_email_sms?exists>
<@comboWithParams name="position_entry_directory_email" items=list_entries_email_sms default_value="position_entry_directory_email" additionalParameters="class='form-control input-sm'" /> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_entry_directory_email_comment}
<#if list_entries_user_guid?exists && is_user_attribute_ws_active>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_notify_by_user_guid_comment}
<@comboWithParams name="position_entry_directory_user_guid" items=list_entries_user_guid default_value="position_entry_directory_user_guid" additionalParameters="class='form-control input-sm'" /> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_entry_directory_user_guid_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.recipientsCc?has_content> <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_recipients_cc_comment}
<#if config?exists && config.recipientsBcc?has_content> <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_recipients_bcc_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_link_view_record}
<#if config.labelLinkViewRecord?has_content> <#else> #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_label_view_record_comment}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_directory_comment}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_directory} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_status} ${status}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_directory_title} ${directory_title}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_directory_description} ${directory_description}
<#if is_user_attribute_ws_active>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_user_attribute_comment}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_user_attribute} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_first_name} ${first_name}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_last_name} ${last_name}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_email} ${email}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_phone_number} ${phone_number}
<#if tasks_list?exists && tasks_list?has_content>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_tasks_list_comment} <#list tasks_list as task>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_title} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_task_type} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker}
${task.getTitle( locale )} ${task.taskType.title} ${task_${task.id}}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_entry_directory_comment} <#list list_entries_freemarker as entry>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_entry} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_freemarker}
${entry.title} ${position_${entry.position}}
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_entry_file} <#list list_entries_file as entry>
#i18n{module.workflow.notifydirectory.task_notify_directory_config.label_file_checked} #i18n{module.workflow.notifydirectory.task_notify_directory_config.label_file_name}
checked="checked" > ${entry.title}
#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}
<@comboWithParams name="id_state" items=list_state default_value="id_state_after_validation" additionalParameters="class='form-control input-sm'" /> #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}
<@initEditor />