<#include "/admin/util/editor/editor.html" /> <#assign sender_name = default_sender_name> <#assign subject = ""> <#assign message = ""> <#assign position_entry_directory_user_guid = -1> <#assign id_directory = -1> <#if config?exists> <#assign sender_name = config.senderName> <#assign subject = config.subject> <#assign message = config.message> <#assign position_entry_directory_user_guid = config.positionEntryDirectoryUserGuid> <#assign id_directory = config.idDirectory>

#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.title}

<@combo name="id_directory" items=list_directories default_value=id_directory />

<#if list_entries?exists>

<@combo name="position_entry_directory_user_guid" items=list_entries default_value=position_entry_directory_user_guid /> 
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_task_entry_directory_user_guid_comment}


#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_sender_name_comment}


#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_subject_comment}


#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_message_comment}

<#if config?exists && config.idDirectory!=-1>
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_directory_comment}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_directory} #i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_freemarker}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_status} ${status}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_directory_title} ${directory_title}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_directory_description} ${directory_description}

#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_user_attribute_comment}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_user_attribute} #i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_freemarker}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_first_name} ${first_name}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_last_name} ${last_name}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_email} ${email}
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_phone_number} ${phone_number}

<#if tasks_list?exists && tasks_list?has_content>
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_tasks_list_comment} <#list tasks_list as task>
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_task_title} #i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_task_type} #i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_freemarker}
${task.getTitle( plugin_workflow, locale )} ${task.taskType.title} ${task_${task.id}}

#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_entry_directory_comment} <#list list_entries_freemarker as entry>
#i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_entry} #i18n{module.workflow.notifymylutece.task_notify_mylutece_config.label_freemarker}
${entry.title} ${position_${entry.position}}

<@initEditor />