Wiki source code of Task Manager
Last modified by Andrey Che on 2018/12/10 14:09
Hide last authors
1.1 | 1 | {{velocity}} | |
2 | #set ($discard = $services.localization.use('document', 'TaskManager.TaskManagerTranslations')) | ||
3 | #set ($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) | ||
4 | #set ($columnsProperties = { | ||
5 | 'number': {"type":"number","size":10}, | ||
6 | 'name': {"type":"text","size":10, "link":"view"}, | ||
7 | 'project': {"type":"list","size":10}, | ||
8 | 'status': {"type":"list","size":10,"html":true}, | ||
9 | 'severity': {"type":"list","size":10,"html":true}, | ||
10 | 'reporter': {"type":"text","size":10,"html":true}, | ||
11 | 'assignee': {"type":"text","size":10,"html":true}, | ||
12 | 'duedate': {"type":"text","size":10}, | ||
13 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
14 | }) | ||
15 | #set ($options = { | ||
16 | 'className': 'TaskManager.TaskManagerClass', | ||
17 | 'resultPage': 'TaskManager.TaskManagerLiveTableResults', | ||
18 | 'translationPrefix': 'taskmanager.livetable.', | ||
19 | 'tagCloud': true, | ||
20 | 'rowCount': 15, | ||
21 | 'maxPages': 10, | ||
22 | 'selectedColumn': 'number', | ||
23 | 'defaultOrder': 'asc' | ||
24 | }) | ||
25 | #set ($columns = ['number', 'name', 'project', 'status', 'severity', 'reporter', 'assignee', 'duedate', '_actions']) | ||
26 | #livetable('taskmanager' $columns $columnsProperties $options) | ||
27 | {{/velocity}} |