mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
- refactored DocumentDetailsBean and SpaceDetailsBean common code into BaseDetailsBase . Fixed a couple of minor errors in example templates . Preview in Template actions now launched as dialog actions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
19 lines
493 B
Plaintext
19 lines
493 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>
|
|
<#if document.assocs["cm:translations"]?exists>
|
|
<#list document.assocs["cm:translations"] as t>
|
|
<tr><td>${t.content}</td></tr>
|
|
</#list>
|
|
</#if>
|
|
</table>
|
|
<#else>
|
|
No<br>
|
|
</#if>
|
|
<#else>
|
|
No document found!
|
|
</#if>
|