Version 1.1 par superadmin le 2022/06/20 08:48

Afficher les derniers auteurs
1 {{velocity}}
2 #set ($discard = $xwiki.ssx.use('XWiki.AllAttachments'))
3 #set ($discard = $xwiki.jsx.use('XWiki.AllAttachments'))
4 #set ($columns = ['mimeType', 'filename', 'doc.fullName', 'filesize', 'date', 'author'])
5 #set ($columnsProperties = {
6 'mimeType': {'type': 'list', 'class': 'XWiki.AllAttachments'},
7 'filename': {'type': 'text'},
8 'doc.fullName': {'type': 'text'},
9 'filesize': {'type': 'list', 'class': 'XWiki.AllAttachments'},
10 'date': {'type': 'date'},
11 'author': {'type': 'text'}
12 })
13 #set ($options = {
14 'resultPage': 'XWiki.AllAttachmentsResults',
15 'callback': 'XWiki.index.displayAttachmentEntry',
16 'translationPrefix': 'platform.index.attachments.',
17 'selectedColumn': 'filename'
18 })
19 #livetable('allattachments' $columns $columnsProperties $options)
20 {{/velocity}}
21
22 (% id="inaccessibleDocsMessage" class="hidden" %)(((
23 {{info}}{{translation key="rightsmanager.documentrequireviewrights" /}}{{/info}}
24 )))