<#-- Table of docs in a specific folder, that have been created or modified in the last week -->

${message("templates.recent_docs.documents_created_or_modified_in_the_last_week")}

<#list space.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child> <#if (dateCompare(child.properties["cm:modified"], date, 1000*60*60*24*7) == 1) || (dateCompare(child.properties["cm:created"], date, 1000*60*60*24*7) == 1)>
${message("templates.recent_docs.name")} ${message("templates.recent_docs.created_date")} ${message("templates.recent_docs.modified_date")}
${child.properties.name} ${child.properties["cm:created"]?datetime} ${child.properties["cm:modified"]?datetime}