Files
alfresco-community-repo/config/alfresco/templates/content/examples/general_example.ftl
Kevin Roast 58c074e716 Merged V3.2 to HEAD
15506: Fix for ALFCOM-3274 - removed double-encoding of webview dashlet title when set from Configure dialog.
   15543: Fixes for ETHREEOH-2596 and ETHREEOH-2392. Any Admin user now forced to enter old password when editing themselves in the Share User Admin console.
   15620:Merged V3.1 to V3.2
      15595: Merged DEV-TEMPORARY to V3.1
         15446: Appropriate JSP page was modified to align radio buttons.
      15597: Fix for ETHREEOH-2575 - all PNG files now appear in IE6, note that PNG transparency is not supported in IE6.
      15598: Merged DEV-TEMPORARY to V3.1
         15593: ETHREEOH-2445: Localization Issues [Email Templates and RSS Templates ACPs I18N]
      15599: Merged DEV-TEMPORARY to V3.1
         15491: ETHREEOH-2460: Localization Issues - Email template
      15601: *RECORD ONLY* Merged V3.2 to V3.1
         15504: ETHREEOH-2447: My Content page localisation failing. [backport from V3.2]
      15613: *RECORD ONLY* Removed reference to portlets message bundle - as per CHK-8518
   15784: Minor performance improvements to data dictionary classes relating to Permission evaluations.
   15791: Merged V3.1 to V3.2
      15693: Merged DEV-TEMPORARY to V3.1
         15648: ETHREEOH-2549: Templates in 3.1 will need localising
      15743: ETHREEOH-2586: JP:Layout error, the word "....." (cancel) should be in the same line
      15745: ETHREEOH-2493 - HTML and XML encoding fixes to Alfresco OpenSearch keyword and person search HTML/ATOM/RSS feed templates.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-08-18 15:09:08 +00:00

49 lines
1.9 KiB
Plaintext

<h3>${message("templates.general_example.example_template_start")}</h3>
<b>${message("templates.general_example.company_home_space")}</b> ${companyhome.properties.name}
<br>
<b>${message("templates.general_example.my_home_space")}</b> ${userhome.properties.name}
<br>
<b>${message("templates.general_example.company_home_children_count")}</b> ${companyhome.children?size}
<br>
<b>${message("templates.general_example.company_home_first_child_node_name")}</b> ${companyhome.children[0].properties.name}
<br>
<#if document?exists>
<b>${message("templates.general_example.current_document_name")}</b> ${document.name}
<br>
</#if>
<b>${message("templates.general_example.current_space_name")}</b> ${space.name}
<h4>${message("templates.general_example.list_of_child_spaces_in_my_home_space")}</h4>
<table>
<#list userhome.children as child>
<#if child.isContainer>
<tr>
<td><img src="${url.context}${child.icon32}"></td>
<td><b>${child.properties.name}</b> (${child.children?size})</td>
<td><b>${message("templates.general_example.path")}</b> ${child.displayPath}</td>
</tr>
</#if>
</#list>
</table>
<h4>${message("templates.general_example.list_of_docs_in_my_home_space")}</h4>
<table>
<#list userhome.children as child>
<#if child.isDocument>
<tr><td><img src="${url.context}${child.icon16}"></td><td><a href="${url.context}${child.url}">${child.properties.name}</a></td></tr>
<#if child.mimetype = "text/plain">
<tr><td></td><td>${child.content}</td></tr>
<#elseif child.mimetype = "image/jpeg">
<tr><td></td><td><img width=100 height=65 src="${url.context}${child.url}"></td></tr>
</#if>
</#if>
</#list>
</table>
<h4>${message("templates.general_example.assoc_example")}</h4>
<#if userhome.children[0].assocs["cm:contains"]?exists>
${userhome.children[0].assocs["cm:contains"][0].name}
</#if>
<h3>${message("templates.general_example.example_template_end")}</h3>