mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Humongous merge. It is incomplete, however; faces-config-navigation.xml and ClientConfigElement
were both beyond me, and are just the raw conflict merge data. If Kev can't figure out how they should go together by tomorrow AM (for me) I'll dig back in. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
173
config/alfresco/templates/content/examples/show_audit.ftl
Normal file
173
config/alfresco/templates/content/examples/show_audit.ftl
Normal file
@@ -0,0 +1,173 @@
|
||||
<#-- Shows some general audit info about the current document -->
|
||||
<#if document?exists>
|
||||
<h4>Current Docuement Audit Info</h4>
|
||||
<b>Name:</b> ${document.name}<br>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<th>User Name</th>
|
||||
<th>Application</th>
|
||||
<th>Service</th>
|
||||
<th>Method</th>
|
||||
<th>Timestamp</th>
|
||||
<th>Failed</th>
|
||||
<th>Message</th>
|
||||
<th>Arg 1</th>
|
||||
<th>Arg 2</th>
|
||||
<th>Arg 3</th>
|
||||
<th>Arg 4</th>
|
||||
<th>Arg 5</th>
|
||||
<th>Return</th>
|
||||
<th>Thowable</th>
|
||||
<th>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> </td>
|
||||
</#if>
|
||||
<#if t.auditMethod?exists>
|
||||
<td>${t.auditMethod}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<td>${t.date}</td>
|
||||
<#if t.fail?exists>
|
||||
<td>${t.fail?string("FAILED", "OK")}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.message?exists>
|
||||
<td>${t.message}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[0]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[0]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[1]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[1]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[2]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[2]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[3]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[3]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[4]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[4]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.returnObjectAsString?exists>
|
||||
<td>${t.returnObjectAsString}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.throwableAsString?exists>
|
||||
<td>${t.throwableAsString}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<td>${t.txId}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
<#elseif space?exists>
|
||||
<h4>Current Space Audit Info:</h4>
|
||||
<b>Name:</b> ${space.name}<br>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<th>User Name</th>
|
||||
<th>Application</th>
|
||||
<th>Service</th>
|
||||
<th>Method</th>
|
||||
<th>Timestamp</th>
|
||||
<th>Failed</th>
|
||||
<th>Message</th>
|
||||
<th>Arg 1</th>
|
||||
<th>Arg 2</th>
|
||||
<th>Arg 3</th>
|
||||
<th>Arg 4</th>
|
||||
<th>Arg 5</th>
|
||||
<th>Return</th>
|
||||
<th>Thowable</th>
|
||||
<th>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> </td>
|
||||
</#if>
|
||||
<#if t.auditMethod?exists>
|
||||
<td>${t.auditMethod}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<td>${t.date}</td>
|
||||
<#if t.fail?exists>
|
||||
<td>${t.fail?string("FAILED", "OK")}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.message?exists>
|
||||
<td>${t.message}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[0]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[0]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[1]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[1]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[2]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[2]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[3]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[3]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.methodArgumentsAsStrings[4]?exists>
|
||||
<td>${t.methodArgumentsAsStrings[4]}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.returnObjectAsString?exists>
|
||||
<td>${t.returnObjectAsString}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<#if t.throwableAsString?exists>
|
||||
<td>${t.throwableAsString}</td>
|
||||
<#else>
|
||||
<td> </td>
|
||||
</#if>
|
||||
<td>${t.txId}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
</#if>
|
@@ -126,17 +126,17 @@
|
||||
</view:properties>
|
||||
<view:associations></view:associations>
|
||||
</cm:content>
|
||||
<cm:content xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns="" view:childName="cm:records_report.ftl">
|
||||
<cm:content xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns="" view:childName="cm:show_audit.ftl">
|
||||
<view:aspects>
|
||||
<cm:titled></cm:titled>
|
||||
<app:inlineeditable></app:inlineeditable>
|
||||
</view:aspects>
|
||||
<view:properties>
|
||||
<app:editInline>true</app:editInline>
|
||||
<cm:description>Displays the current state of records in a file plan space or a space containing a file plan.</cm:description>
|
||||
<cm:content>contentUrl=classpath:alfresco/templates/content/examples/records_report.ftl|mimetype=text/plain|size=6134|encoding=UTF-8</cm:content>
|
||||
<cm:title>records_report.ftl</cm:title>
|
||||
<cm:name>records_report.ftl</cm:name>
|
||||
<cm:description>Displays the audit trail for an object.</cm:description>
|
||||
<cm:content>contentUrl=classpath:alfresco/templates/content/examples/show_audit.ftl|mimetype=text/plain|size=6134|encoding=UTF-8</cm:content>
|
||||
<cm:title>show_audit.ftl</cm:title>
|
||||
<cm:name>show_audit.ftl</cm:name>
|
||||
</view:properties>
|
||||
<view:associations></view:associations>
|
||||
</cm:content>
|
||||
|
Reference in New Issue
Block a user