Changes for page Data

Last modified by Vincent Massol on 2021/04/06

From version 3.1
edited by Vincent Massol
on 2016/10/01
Change comment: Imported from XAR
To version 4.1
edited by Vincent Massol
on 2017/05/31
Change comment: Install extension [org.xwiki.contrib.releasenotes:application-releasenotes-ui-1.4]

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Release Notes Changes
1 +Data
Content
... ... @@ -1,54 +1,20 @@
1 -= Generate Report =
1 += Release Notes =
2 2  
3 -Notes:
4 -* Lists are allowed by using commas (e.g. "High,Medium")
5 -* Wildcards are allowed (e.g. "8.3%")
3 +{{include reference="ReleaseNotes.Code.HomeReleaseNotes"/}}
6 6  
7 -{{include reference="ReleaseNotes.Code.HomeGenerateReleaseNotes"/}}
5 += Release Changes =
8 8  
9 -= Existing Changes =
7 +A Release Note is made of several Changes. You'll find below all the Release Changes.
10 10  
11 -{{include reference="ReleaseNotes.Code.ChangesVelocityMacros"/}}
9 +{{include reference="ReleaseNotes.Code.HomeReleaseChanges"/}}
12 12  
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}}
11 +== Custom Reports ==
35 35  
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}}
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 +

Get Connected