0 Votes

Wiki source code of Flag List

Last modified by Ryan C on 2025/03/28 06:54

Show last authors
1 {{velocity}}
2 $xwiki.ssfx.use('uicomponents/pagination/pagination.css', 'true')
3 $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css', true)
4 = $services.localization.render("conversations.flag.list.title") =
5
6 $services.localization.render("conversations.flag.list.instructions")##
7 #set($columns = ['reason', 'user', 'doc.creationDate', 'moderator', 'status', '_actions'])
8 #set($columnsProperties = {
9 "reason" : { "type" : "list", "link" : "view"},
10 "user" : { "type" : "text", "link" : "none", "html" : "true"},
11 "doc.creationDate" : { "type" : "text", "link" : "none"},
12 "message" : { "type" : "text", "link" : "none", "html" : "true"},
13 "moderator" : { "type" : "text", "link" : "none", "html" : "true"},
14 "status" : { "type" : "list", "link" : "none"},
15 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
16 })
17 #set($options = {
18 'className' : 'ForumCode.FlagClass',
19 'translationPrefix' : 'conversations.flag.',
20 'rowCount' : 10,
21 'selectedColumn' : 'doc.creationDate',
22 'defaultOrder' : 'desc',
23 'queryFilters' : 'currentlanguage'
24 })
25 #livetable('flags' $columns $columnsProperties $options)
26 #set($docextras = [])
27 {{/velocity}}

XWiki AI Chat