Hide last authors
| |
1.1 | 1 | {{velocity}} |
| 2 | $xwiki.jsx.use("Ideas.IdeasClass") | ||
| 3 | $xwiki.ssx.use("Ideas.IdeasClass") | ||
| 4 | |||
| 5 | ## Load the User Picker style for the "Assigned to" column | ||
| 6 | #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) | ||
| 7 | |||
| 8 | #set ($columnsProperties = { | ||
| 9 | 'nbvotes': {"type":"number","size":10,"html":true}, | ||
| 10 | 'nbagainst': {"type":"number","size":10,"html":true}, | ||
| 11 | 'nbestimate': {"type":"number","size":10,"html":true}, | ||
| 12 | 'doc.title': {"type":"text","size":20,"link":"view"}, | ||
| 13 | 'status': {"type":"list","size":20}, | ||
| 14 | 'priority': {"type":"list","size":20}, | ||
| 15 | 'assignement': {"type":"text","size":20,"link":"field", "html":true}, | ||
| 16 | 'doc.date': {"type":"text","size":10}, | ||
| 17 | 'doc.author': {"type":"text","size":10,"link":"author"}, | ||
| 18 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 19 | }) | ||
| 20 | |||
| 21 | #set ($options = { | ||
| 22 | 'className': 'Ideas.IdeasClass', | ||
| 23 | 'translationPrefix': 'ideas.livetable.', | ||
| 24 | 'tagCloud': true, | ||
| 25 | 'rowCount': 15, | ||
| 26 | 'maxPages': 10, | ||
| 27 | 'selectedColumn': 'status', | ||
| 28 | 'defaultOrder': 'asc', | ||
| 29 | 'extraParams': '&status=open' | ||
| 30 | }) | ||
| 31 | |||
| 32 | #set ($columns = ['nbvotes','nbagainst','doc.title','nbestimate','status','priority','assignement','doc.date', 'doc.author', '_actions']) | ||
| 33 | #livetable($doc $columns $columnsProperties $options) | ||
| 34 | {{/velocity}} |