From version < 2.1
edited by Julien Fleury
on 2020/12/22 01:31
To version 1.1 >
edited by Julien Fleury
on 2020/12/19 00:26
Change comment: Install extension [org.xwiki.contrib:application-task/2.1]

Summary

Details

Page properties
Hidden
... ... @@ -1,1 +1,1 @@
1 -true
1 +false
Content
... ... @@ -3,9 +3,8 @@
3 3  #if($hasAdmin)
4 4   #set($severity = $request.severity)
5 5   #if(!$stringtool.isBlank($severity))
6 - #set($documentRef = $services.model.createDocumentReference($xcontext.getDatabase(), 'TaskManager', $severity))
6 + #set($documentRef = $services.model.createDocumentReference($context.getDatabase(), 'TaskManager', $severity))
7 7   #set($document = $xwiki.getDocument($documentRef))
8 - #set($discard = $document.setHidden(true))
9 9   #set($object = $document.getObject('TaskManager.SeverityClass', true))
10 10   $object.set('severity', "$severity")
11 11   $document.save()
... ... @@ -20,9 +20,10 @@
20 20   </span>
21 21   </form>
22 22   {{/html}}
23 - #set($columns = ['doc.name', 'doc.date', 'doc.author', '_actions'])
22 + #set($columns = ['doc.name', 'doc.space', 'doc.date', 'doc.author', '_actions'])
24 24   #set($columnsProperties = {
25 - 'doc.name' : { 'displayName' : $services.localization.render('taskmanager.livetable.severity'), 'type' : 'text' , 'size' : 30, 'link' : 'view', 'filterable' : false },
24 + 'doc.name' : { 'type' : 'text' , 'size' : 30, 'link' : 'view', 'filterable' : false },
25 + 'doc.space' : { 'type' : 'text', 'link' : 'space', 'filterable' : false },
26 26   'doc.date' : { 'type' : 'date', 'filterable' : false },
27 27   'doc.author': { 'type' : 'text', 'link' : 'author', 'filterable' : false },
28 28   '_actions' : { 'actions' : ['delete'] }
... ... @@ -31,8 +31,7 @@
31 31   'translationPrefix' : 'xe.index.',
32 32   'rowCount' : 15,
33 33   'description' : 'This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered.',
34 - 'className' : 'TaskManager.SeverityClass',
35 - 'queryFilters': ' '
34 + 'className' : 'TaskManager.SeverityClass'
36 36   })
37 37  #livetable("severityTable" $columns $columnsProperties $options)
38 38  #else

My Due Tasks

You have to be logged in in order to view this panel

This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian