#-- Functions -->
<#function isEntryTypeDirectory entry>
<#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_directory>
#function>
<#function isEntryTypeGeolocation entry>
<#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_geolocation>
#function>
<#function isEntryTypeImage entry>
<#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_image>
#function>
<#function isEntryTypeMyLuteceUser entry>
<#return entry.entryType?has_content && entry.entryType.myLuteceUser>
#function>
<#function isEntryTypeNumbering entry>
<#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_numbering>
#function>
<#-- macro used for Geolocation AND actions column in record list -->
<#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)>
#if>
#list>
#macro>