Code source wiki de Wikis recycle bins
Modifié par Admin le 20/09/2024 - 09:39
Afficher les derniers auteurs
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | {{html clean='false' wiki='true'}} | ||
3 | #set ($sourceParameters = $escapetool.url({ | ||
4 | 'resultPage': 'AdminTools.Code.WikisRecycleBinsJSON', | ||
5 | 'translationPrefix': 'adminTools.dashboard.healthcheck.modal.wikiBins.header.' | ||
6 | })) | ||
7 | #set ($liveDataConfig= { | ||
8 | 'meta': { | ||
9 | 'propertyDescriptors': [ | ||
10 | {'id': 'wikiName', 'displayer': 'text'}, | ||
11 | {'id': 'documentsCount', 'displayer': 'html', 'filterable': false}, | ||
12 | {'id': 'attachmentsCount', 'displayer': 'html', 'filterable': false}, | ||
13 | {'id': 'totalCount', 'displayer': 'number', 'filterable': false} | ||
14 | ], | ||
15 | 'entryDescriptor': { | ||
16 | 'idProperty': 'wikiName' | ||
17 | } | ||
18 | } | ||
19 | }) | ||
20 | |||
21 | {{liveData | ||
22 | id='wikisRecycleBins' | ||
23 | properties="wikiName, documentsCount, attachmentsCount, totalCount" | ||
24 | source='liveTable' | ||
25 | sourceParameters="$sourceParameters" | ||
26 | sort='wikiName:asc' | ||
27 | }}$jsontool.serialize($liveDataConfig){{/liveData}} | ||
28 | {{/html}} | ||
29 | {{/velocity}} |