Show last authors
1 {{velocity}}
2 #set($discard = $services.localization.use('document', "$doc.wiki:TaskManager.TaskManagerTranslations"))
3 #if($hasAdmin)
4 #set($project = $request.project)
5 #if(!$stringtool.isBlank($project))
6 #set($documentRef = $services.model.createDocumentReference($xcontext.getDatabase(), 'TaskManager', $project))
7 #set($document = $xwiki.getDocument($documentRef))
8 #set($object = $document.getObject('TaskManager.ProjectClass', true))
9 $object.set('project', "$project")
10 $document.save()
11 #end
12
13 {{html}}
14 <form class="xformInline" method="post">
15 <label for="project">$services.localization.render('TaskManager.administration.addProject.label')</label>
16 <input id="project" name="project" type="text" size="20"/>
17 <span class="buttonwrapper">
18 <button class="button" type="submit">$services.localization.render('TaskManager.administration.addProject.submit')</button>
19 </span>
20 </form>
21 {{/html}}
22 #set($columns = ['doc.name', 'doc.date', 'doc.author', '_actions'])
23 #set($columnsProperties = {
24 'doc.name' : { 'displayName' : $services.localization.render('taskmanager.livetable.project'), 'type' : 'text', 'size' : 30, 'link' : 'view', 'filterable' : false },
25 'doc.date' : { 'type' : 'date', 'filterable' : false },
26 'doc.author': { 'type' : 'text', 'link' : 'author', 'filterable' : false },
27 '_actions' : { 'actions' : ['delete'] }
28 })
29 #set($options = {
30 'translationPrefix' : 'xe.index.',
31 'rowCount' : 15,
32 'description' : 'This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered.',
33 'className' : 'TaskManager.ProjectClass'
34 })
35 #livetable("projectTable" $columns $columnsProperties $options)
36 #else
37 {{info}}You need to be an Administrator{{/info}}
38 #end
39 {{/velocity}}

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