Show last authors
1 {{velocity}}
2 #set($discard = $services.localization.use('document', 'ReviewPages.Translations'))
3 #set($discard = $xwiki.ssfx.use('uicomponents/widgets/datepicker/calendarDateSelect.css', true))
4 #set($discard = $xwiki.jsfx.use('uicomponents/widgets/datepicker/calendarDateSelect.js', true))
5 #set($discard = $xwiki.jsfx.use('uicomponents/widgets/datepicker/simpleDateFormat.js', true))
6 #set($discard = $xwiki.ssfx.use('uicomponents/widgets/datepicker/dateTimePicker.css', true))
7 #set($discard = $xwiki.jsfx.use('uicomponents/widgets/datepicker/dateTimePicker.js'))
8 #set($discard = $xwiki.ssfx.use('uicomponents/widgets/validation/livevalidation.css', true))
9 #set($discard = $xwiki.jsx.use("ReviewPages.Script", {'defer': false, 'minify': false}))
10 #set($discard = $xwiki.jsx.use("ReviewPages.AddScript", {'defer': false, 'minify': false}))
11 #set($discard = $xwiki.ssx.use("ReviewPages.Script"))
12 #set($options = {
13 "className":"ReviewPages.ReviewData",
14 "translationPrefix" : "ReviewPages.ReviewData.",
15 "selectedColumn":"nextReviewDate",
16 "defaultOrder" :"asc",
17 "callback" : "ReviewPages.displayLiveTableRow"
18 })
19
20 #set($columns = [ "doc.name","doc.space","doc.date","doc.author","nextReviewDate","lastReviewer","reviewDate","_actions"])
21 #set($columnProperties = {
22 "doc.name" : { "type" : "text", "link" : "view" },
23 "doc.space" : { "type" : "text" },
24 "doc.date" : { "type" : "date" },
25 "doc.author": { "type" : "text", "link" : "field" },
26 "nextReviewDate" : { "type" : "date" },
27 "lastReviewer": { "html": true, "type" : "list", "link" : "field", "filterable" : false},
28 "reviewDate" : { "type" : "date" },
29 "_actions": {'html': true, 'sortable': false, 'actions': []}
30 } )
31 #livetable("review" $columns $columnProperties $options)
32
33 #if($hasEdit)
34 === $services.localization.render("ReviewPages.AddPage.title") ===
35
36
37 {{html wiki="true"}}
38 <form id="addReviewPage" action="$xwiki.getURL('ReviewPages.AddScript')">
39 <div class="xform">
40 ##; <label for="addReviewPage_space">$services.localization.render('ReviewPages.AddPage.space.label')</label>
41 ##: <input type="text" name="space" id="addReviewPage_space" class="suggestSpaces" />
42 ##; <label for="addReviewPage_page">$services.localization.render('ReviewPages.AddPage.page.label')</label>
43 ##: <input type="text" name="page" id="addReviewPage_page" class="suggestDocs" />
44 ; <label for="addReviewPage_page">$services.localization.render('ReviewPages.AddPage.page.label')</label>
45 : <input type="text" name="page" id="addReviewPage_page" class="suggestDocuments" />
46 ; <label for="addReviewPage_nextReviewDate">$services.localization.render('ReviewPages.AddPage.nextReviewDate.label') </label>
47 : <input type="text" name="nextReviewDate" id="addReviewPage_nextReviewDate" />
48
49 <input type="submit" class="button" name="add" id="addReviewPage-button" value="$services.localization.render('ReviewPages.AddPage.button.label')" />
50 </div>
51 </form>
52 {{/html}}
53 #end
54 #set($docextras=[]){{/velocity}}
Copyright 2000-2019