Files
alfresco-community-repo/config/alfresco/templates
Neil McErlean ef641d7362 Fix for ALF-11254. activitiesTemplatesUpdatePatch fails...
I have reverse-merged the revision that changed the acp to an exploded xml+ftl*.
There was no change to the bootstrapped content in that checkin in any case.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 15:36:25 +00:00
..
2011-06-06 12:59:26 +00:00
2011-05-20 13:30:26 +00:00
2011-04-11 19:26:26 +00:00
2009-08-18 15:09:08 +00:00
2010-01-26 12:33:55 +00:00
2009-08-18 15:09:08 +00:00

<#-- Displays the contents of readme.html and/or the evaluated readme.ftl if they exist in the current space. -->
<#assign filename = "readme"/>
<#assign htmlExt = "html"/>
<#assign suffix = .lang />
<#assign ftlExt = "ftl"/>
<#assign htmlLangFilename = "${filename}_${suffix}.${htmlExt}"/>
<#assign htmlFilename = "${filename}.${htmlExt}"/>
<#assign ftlFilename = "${filename}.${ftlExt}"/>
<#assign messageError="Readme file does not exist!"/>
<#assign found = false>

<#if space?exists>
    <#if space.childByNamePath["${htmlLangFilename}"]?exists>
        ${space.childByNamePath[htmlLangFilename].content}
    <#elseif space.childByNamePath["${htmlFilename}"]?exists>
        ${space.childByNamePath[htmlFilename].content}
    <#elseif space.childByNamePath["${ftlFilename}"]?exists>
        <#include space.childByNamePath["${ftlFilename}"].nodeRef> 
    <#else>
        ${messageError}
    </#if>
</#if>