Toggle navigation
Log-in
Languages
English
Wiki Index
Page Index
User Index
Draft
User Directory
Wiki source code of
User Directory
Last modified by
Ricardo Rodríguez Fernández
on 2016/08/19 08:44
Hide line numbers
1: {{velocity}} 2: #set($columns = ["first_name", "last_name", "email", "doc.fullname", "doc.creationDate"]) 3: #set($columnsProperties = { 4: "_avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false }, 5: "first_name" : { "type" : "text" , "size" : 20, "link" : "view"}, 6: "last_name" : { "type" : "text", "link" : "view"}, 7: "email" : { "type" : "text", "html" : "true"} 8: }) 9: #set($options = { 10: "url" : "$xwiki.getURL('XWiki.LiveTableResults', 'get', 'outputSyntax=plain&transprefix=xe.index.users.&classname=XWiki.XWikiUsers&collist=_avatar,first_name,last_name,email,doc.fullname,doc.creationDate')", 11: "translationPrefix" : "xe.userdirectory.", 12: "tagCloud" : false, 13: "rowCount": 10 14: }) 15: #livetable("userdirectory" $columns $columnsProperties $options) 16: {{/velocity}}