Files
alfresco-community-repo/config/alfresco/templates/content/examples/translatable.ftl
Kevin Roast 4ca678c845 . Update of all example template files - for bootstrap and source distribution.
. Fixed templates list in Preview screen to catch AccessDeniedException for Guest user access to templates folder

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2339 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 14:43:19 +00:00

17 lines
415 B
Plaintext

<#-- Shows the translations applied to a doc through the translatable aspect -->
<b>Translatable:</b>
<#if document?exists>
<#if hasAspect(document, "cm:translatable") = 1>
Yes<br>
<table>
<#list document.assocs["cm:translations"] as t>
<tr><td>${t.content}</td></tr>
</#list>
</table>
<#else>
No<br>
</#if>
<#else>
No document found!
</#if>