#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><#if action.icon.height!=-1> height="${action.icon.height}"#if> title="${action.name}" alt="${action.name}">
#list>
#if>
<#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#if>">
<@icon style=action.iconUrl title=action.name/>
#if>
#list>
#macro>
#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 /> #if> <@display_actions resource_actions/> |
${entry.title}
<#if entry.children?has_content><#list entry.children as child > <#if child.title?exists> ${child.title} : #if> <#assign entryKey=""+child.idEntry> <#assign first = true> <#list map_id_entry_list_record_field[entryKey] as recordfield> <#if !first> #if> ${child.getHtmlRecordFieldValue( locale, recordfield, false )} <#assign first = false> #list> #list>
#if> <#else> <#assign entryKey=""+entry.idEntry> <#assign first = true> <#if entry.title?exists>${entry.title}
#if><#list map_id_entry_list_record_field[entryKey] as recordfield> <#if !first> #if> ${entry.getHtmlRecordFieldValue( locale, recordfield, false )} <#assign first = false> #list>
#if> #list>