Show last authors
1 {{include reference="ReleaseNotes.Code.ChangesVelocityMacros"/}}
2
3 {{velocity}}
4 #set ($topSpace = $doc.documentReference.extractFirstReference('SPACE').getName())
5 #if ($hasEdit)
6 ## Add new change
7 #if ($request.action == 'addChange')
8 #set ($product = $request.product)
9 #if ("$!product" == '')
10 #set ($configDoc = $xwiki.getDocument("${topSpace}.Code.ReleaseNotesConfig"))
11 #set ($product = $configDoc.getValue('product'))
12 #end
13 #handleAddAction($product, $!request.version, $!request.queryString)
14 #end
15 {{html clean='false'}}
16 <form>
17 <input type="hidden" name="action" value="addChange"/>
18 <input type="hidden" name="template" value="${topSpace}.Code.ChangesTemplate"/>
19 <input id="product" type="text" name="product" value="XWiki" size="16"/>
20 <input id="version" type="text" name="version" value="Product version..." size="16" class="withTip"/>
21 <span class="buttonwrapper">
22 <input class="button" type="submit" value="Add Release Change"/>
23 </span>
24 </form>
25 {{/html}}
26 #end
27
28 #set($columns = ['doc.creationDate', 'product', 'version', 'category', 'audience', 'title', 'importance', 'summary' ])
29 #set($columnsProperties = {
30 'doc.creationDate' : { 'type' : 'date', 'link' : true },
31 'product' : { 'type' : 'text', 'match': 'partial' },
32 'version' : { 'type' : 'text', 'match': 'partial' },
33 'category' : { 'type' : 'text', 'match': 'partial' },
34 'audience' : { 'type' : 'text', 'match': 'partial' },
35 'title' : { 'type' : 'text', 'sortable' : false },
36 'importance' : { 'type' : 'text'},
37 'summary' : { 'type' : 'text', 'html' : 'true', 'sortable' : false }
38 })
39 #set($options = {
40 "className" : "${topSpace}.Code.ChangesClass",
41 "translationPrefix" : "releasenotes.changes.livetable.",
42 "tagCloud" : true,
43 "rowCount": 15
44 })
45 #livetable("releasenoteschanges" $columns $columnsProperties $options)
46 {{/velocity}}

Get Connected