Files
alfresco-community-repo/config/alfresco/templates/content/examples/show_audit.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

173 lines
6.5 KiB
Plaintext

<#-- Shows some general audit info about the current document -->
<#if document?exists>
<h4>${message("templates.show_audit.current_document_audit_info")}</h4>
<b>${message("templates.show_audit.name")}</b> ${document.name}<br>
<table border="1" cellspacing="0" cellpadding="4">
<tr>
<th>${message("templates.show_audit.user_name")}</th>
<th>${message("templates.show_audit.application")}</th>
<th>${message("templates.show_audit.service")}</th>
<th>${message("templates.show_audit.method")}</th>
<th>${message("templates.show_audit.timestamp")}</th>
<th>${message("templates.show_audit.failed")}</th>
<th>${message("templates.show_audit.message")}</th>
<th>${message("templates.show_audit.arg_1")}</th>
<th>${message("templates.show_audit.arg_2")}</th>
<th>${message("templates.show_audit.arg_3")}</th>
<th>${message("templates.show_audit.arg_4")}</th>
<th>${message("templates.show_audit.arg_5")}</th>
<th>${message("templates.show_audit.return")}</th>
<th>${message("templates.show_audit.thowable")}</th>
<th>${message("templates.show_audit.tx")}</th>
</tr>
<#list document.auditTrail as t>
<tr>
<td>${t.userIdentifier}</td>
<td>${t.auditApplication}</td>
<#if t.auditService?exists>
<td>${t.auditService}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.auditMethod?exists>
<td>${t.auditMethod}</td>
<#else>
<td>&nbsp;</td>
</#if>
<td>${t.date}</td>
<#if t.fail?exists>
<td>${t.fail?string("FAILED", "OK")}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.message?exists>
<td>${t.message}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[0]?exists>
<td>${t.methodArgumentsAsStrings[0]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[1]?exists>
<td>${t.methodArgumentsAsStrings[1]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[2]?exists>
<td>${t.methodArgumentsAsStrings[2]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[3]?exists>
<td>${t.methodArgumentsAsStrings[3]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[4]?exists>
<td>${t.methodArgumentsAsStrings[4]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.returnObjectAsString?exists>
<td>${t.returnObjectAsString}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.throwableAsString?exists>
<td>${t.throwableAsString}</td>
<#else>
<td>&nbsp;</td>
</#if>
<td>${t.txId}</td>
</tr>
</#list>
</table>
<#elseif space?exists>
<h4>${message("templates.show_audit.current_space_audit_info")}</h4>
<b>${message("templates.show_audit.name")}</b> ${space.name}<br>
<table border="1" cellspacing="0" cellpadding="4">
<tr>
<th>${message("templates.show_audit.user_name")}</th>
<th>${message("templates.show_audit.application")}</th>
<th>${message("templates.show_audit.service")}</th>
<th>${message("templates.show_audit.method")}</th>
<th>${message("templates.show_audit.timestamp")}</th>
<th>${message("templates.show_audit.failed")}</th>
<th>${message("templates.show_audit.message")}</th>
<th>${message("templates.show_audit.arg_1")}</th>
<th>${message("templates.show_audit.arg_2")}</th>
<th>${message("templates.show_audit.arg_3")}</th>
<th>${message("templates.show_audit.arg_4")}</th>
<th>${message("templates.show_audit.arg_5")}</th>
<th>${message("templates.show_audit.return")}</th>
<th>${message("templates.show_audit.thowable")}</th>
<th>${message("templates.show_audit.tx")}</th>
</tr>
<#list space.auditTrail as t>
<tr>
<td>${t.userIdentifier}</td>
<td>${t.auditApplication}</td>
<#if t.auditService?exists>
<td>${t.auditService}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.auditMethod?exists>
<td>${t.auditMethod}</td>
<#else>
<td>&nbsp;</td>
</#if>
<td>${t.date}</td>
<#if t.fail?exists>
<td>${t.fail?string("FAILED", "OK")}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.message?exists>
<td>${t.message}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[0]?exists>
<td>${t.methodArgumentsAsStrings[0]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[1]?exists>
<td>${t.methodArgumentsAsStrings[1]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[2]?exists>
<td>${t.methodArgumentsAsStrings[2]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[3]?exists>
<td>${t.methodArgumentsAsStrings[3]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.methodArgumentsAsStrings[4]?exists>
<td>${t.methodArgumentsAsStrings[4]}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.returnObjectAsString?exists>
<td>${t.returnObjectAsString}</td>
<#else>
<td>&nbsp;</td>
</#if>
<#if t.throwableAsString?exists>
<td>${t.throwableAsString}</td>
<#else>
<td>&nbsp;</td>
</#if>
<td>${t.txId}</td>
</tr>
</#list>
</table>
</#if>