<#macro display_actions resource_actions > <#if resource_actions.workflow_action_list?exists> <#list resource_actions.workflow_action_list as action> width="${action.icon.width}" <#if action.icon.height!=-1> height="${action.icon.height}" title="${action.name}" alt="${action.name}" /> <#list resource_actions.record.actions as action> <#if (action.nameKey!="directory.action.history.name") || (action.nameKey=="directory.action.history.name" && history_workflow)> btn-danger<#elseif action.nameKey="directory.action.enable.name">btn-success<#else>btn-primary">  
#i18n{directory.resource_history.labelRecord} ${record.idRecord} <#if resource_actions.workflow_state?exists>
#i18n{directory.resource_history.labelDirectory}
${directory.title}
#i18n{directory.resource_history.labelState}
${resource_actions.workflow_state.name}
#i18n{directory.resource_history.actions}
<#if item_navigator??> <@item_navigation item_navigator=item_navigator /> <@display_actions resource_actions/>
#i18n{directory.resource_history.title} <#if date_creation?? > - #i18n{directory.resource_history.date_creation} ${date_creation} <#if date_modification?? > - #i18n{directory.resource_history.date_modification} ${date_modification} <#list entry_list as entry> <#if entry.entryType.group>

 ${entry.title}

<#if entry.children?has_content> <#list entry.children as child >
<#if child.title?exists> <#assign entryKey=""+child.idEntry> <#assign first = true> <#list map_id_entry_list_record_field[entryKey] as recordfield>
<#if !first> ${child.getHtmlRecordFieldValue( locale, recordfield, false )} <#assign first = false>
<#else> <#assign entryKey=""+entry.idEntry> <#assign first = true> <#if entry.title?exists>

${entry.title}

<#list map_id_entry_list_record_field[entryKey] as recordfield>
<#if !first> ${entry.getHtmlRecordFieldValue( locale, recordfield, false )}
<#assign first = false>
${resource_history}