<
From version < 4.1 >
edited by Vincent Massol
on 2017/05/31
To version < 3.1 >
edited by Vincent Massol
on 2016/10/01
>
Change comment: Imported from XAR

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Data
1 +Release Notes Changes
Content
... ... @@ -1,20 +1,54 @@
1 -= Release Notes =
1 += Generate Report =
2 2  
3 -{{include reference="ReleaseNotes.Code.HomeReleaseNotes"/}}
3 +Notes:
4 +* Lists are allowed by using commas (e.g. "High,Medium")
5 +* Wildcards are allowed (e.g. "8.3%")
4 4  
5 -= Release Changes =
7 +{{include reference="ReleaseNotes.Code.HomeGenerateReleaseNotes"/}}
6 6  
7 -A Release Note is made of several Changes. You'll find below all the Release Changes.
9 += Existing Changes =
8 8  
9 -{{include reference="ReleaseNotes.Code.HomeReleaseChanges"/}}
11 +{{include reference="ReleaseNotes.Code.ChangesVelocityMacros"/}}
10 10  
11 -== Custom Reports ==
13 +{{velocity}}
14 + #set ($topSpace = $doc.documentReference.extractFirstReference('SPACE').getName())
15 + #set ($product = $request.product)
16 + #if ("$!product" == '')
17 + #set ($configDoc = $xwiki.getDocument("${topSpace}.Code.ReleaseNotesConfig"))
18 + #set ($product = $configDoc.getValue('product'))
19 + #end
20 + ## Add new change
21 + #if ($request.action == 'add')
22 + #handleAddAction($product, $!request.version, $!request.queryString)
23 + #end
24 +{{html clean='false'}}
25 +<form>
26 + <input type="hidden" name="action" value="add"/>
27 + <input type="hidden" name="template" value="${topSpace}.Code.ChangesTemplate"/>
28 + <input id="product" type="text" name="product" value="XWiki" size="16"/>
29 + <input id="version" type="text" name="version" value="Product version..." size="16" class="withTip"/>
30 + <span class="buttonwrapper">
31 + <input class="button" type="submit" value="Add Change"/>
32 + </span>
33 +</form>
34 +{{/html}}
12 12  
13 -You can generate some custom reports from Release Changes.
14 -
15 -{{include reference="ReleaseNotes.Code.HomeCustomReport"/}}
16 -
17 -Notes:
18 -* Lists are allowed by using commas (e.g. "High,Medium")
19 -* Wildcards are allowed (e.g. "8.3%")
20 -
36 +#set($columns = ['doc.creationDate', 'product', 'version', 'category', 'audience', 'title', 'importance', 'summary' ])
37 +#set($columnsProperties = {
38 + 'doc.creationDate' : { 'type' : 'date', 'link' : true },
39 + 'product' : { 'type' : 'text', 'match': 'partial' },
40 + 'version' : { 'type' : 'text', 'match': 'partial' },
41 + 'category' : { 'type' : 'text', 'match': 'partial' },
42 + 'audience' : { 'type' : 'text', 'match': 'partial' },
43 + 'title' : { 'type' : 'text', 'sortable' : false },
44 + 'importance' : { 'type' : 'text'},
45 + 'summary' : { 'type' : 'text', 'html' : 'true', 'sortable' : false }
46 +})
47 +#set($options = {
48 + "className" : "${topSpace}.Code.ChangesClass",
49 + "translationPrefix" : "releasenotes.changes.livetable.",
50 + "tagCloud" : true,
51 + "rowCount": 15
52 +})
53 +#livetable("releasenoteschanges" $columns $columnsProperties $options)
54 +{{/velocity}}

Get Connected