<#-- Functions --> <#function isEntryTypeDirectory entry> <#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_directory> <#function isEntryTypeGeolocation entry> <#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_geolocation> <#function isEntryTypeImage entry> <#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_image> <#function isEntryTypeMyLuteceUser entry> <#return entry.entryType?has_content && entry.entryType.myLuteceUser> <#function isEntryTypeNumbering entry> <#return entry.entryType?has_content && entry.entryType.idType?has_content && entry.entryType.idType == id_entry_type_numbering> <#-- 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 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" href="${action.url}?id_directory_record=${resource_actions.record.idRecord}&id_directory=${directory.idDirectory}" title="${action.description}">