From version < 2.1 >
edited by Vincent Massol
on 2016/09/30
To version 1.1 >
edited by Vincent Massol
on 2016/09/28
>
Change comment: Install extension [org.xwiki.contrib.releasenotes:application-releasenotes-ui-1.0]

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,35 @@
1 1  = Generate Report =
2 2  
3 -{{include reference="ReleaseNotes.Code.HomeGenerateReleaseNotes"/}}
3 +Notes:
4 +* Lists are allowed by using commas (e.g. "High,Medium")
5 +* Wildcards are allowed (e.g. "8.3%")
4 4  
7 +{{velocity}}
8 +#set ($topSpace = $doc.documentReference.extractFirstReference('SPACE').getName())
9 +$!xwiki.jsx.use($doc.documentReference.toString())
10 +{{html clean="false"}}
11 +<form action="$xwiki.getURL("${topSpace}.Code.Report")">
12 + <input type="hidden" name="action" value="report"/>
13 + <select name="displayer">
14 + <option value="grid">Grid</option>
15 + <option value="flow">Flow</option>
16 + <option value="simple">Simple</option>
17 + <option value="list">List</option>
18 + </select>
19 + <input id="product" type="text" name="products" value="Products..." size="30" class="withTip"/>
20 + <input id="version" type="text" name="versions" value="Versions..." size="30" class="withTip"/>
21 + <input id="category" type="text" name="categories" value="Categories..." size="30" class="withTip"/>
22 + <input id="audience" type="text" name="audience" value="Audience..." size="30" class="withTip"/>
23 + <input id="importance" type="text" name="importance" value="Importance..." size="30" class="withTip"/>
24 + <input type="radio" name="containsScreenshots" value="true"> With Screenshots
25 + <input type="radio" name="containsScreenshots" value="false"> Without Screenshots
26 + <span class="buttonwrapper">
27 + <input class="button" type="submit" value="Generate Report"/>
28 + </span>
29 +</form>
30 +{{/html}}
31 +{{/velocity}}
32 +
5 5  = Existing Changes =
6 6  
7 7  {{velocity}}
... ... @@ -38,8 +38,8 @@
38 38  <form>
39 39   <input type="hidden" name="action" value="add"/>
40 40   <input type="hidden" name="template" value="${topSpace}.Code.ChangesTemplate"/>
41 - <input id="product" type="text" name="product" value="XWiki" size="16"/>
42 - <input id="version" type="text" name="version" value="Product version..." size="16" class="withTip"/>
69 + <input id="product2" type="text" name="product" value="XWiki" size="16"/>
70 + <input id="version2" type="text" name="version" value="Product version..." size="16" class="withTip"/>
43 43   <span class="buttonwrapper">
44 44   <input class="button" type="submit" value="Add Change"/>
45 45   </span>
XWiki.JavaScriptExtension[0]
Code
... ... @@ -10,6 +10,26 @@
10 10   });
11 11   });
12 12   }
13 + if($('version2')) {
14 + Event.observe($('version2'), "focus", function() {
15 + new XWiki.widgets.Suggest(this, {
16 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=version&secCol=-&',
17 + varname: "input",
18 + seps: " ,|",
19 + offsety: 13
20 + });
21 + });
22 + }
23 + if($('category')) {
24 + Event.observe($('category'), "focus", function() {
25 + new XWiki.widgets.Suggest(this, {
26 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=category&secCol=-&',
27 + varname: "input",
28 + seps: " ,|",
29 + offsety: 13
30 + });
31 + });
32 + }
13 13   if($('product')) {
14 14   Event.observe($('product'), "focus", function() {
15 15   new XWiki.widgets.Suggest(this, {
... ... @@ -20,5 +20,35 @@
20 20   });
21 21   });
22 22   }
43 + if($('product2')) {
44 + Event.observe($('product2'), "focus", function() {
45 + new XWiki.widgets.Suggest(this, {
46 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=product&secCol=-&',
47 + varname: "input",
48 + seps: " ,|",
49 + offsety: 13
50 + });
51 + });
52 + }
53 + if($('audience')) {
54 + Event.observe($('audience'), "focus", function() {
55 + new XWiki.widgets.Suggest(this, {
56 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=audience&secCol=-&',
57 + varname: "input",
58 + seps: " ,|",
59 + offsety: 13
60 + });
61 + });
62 + }
63 + if($('importance')) {
64 + Event.observe($('importance'), "focus", function() {
65 + new XWiki.widgets.Suggest(this, {
66 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=importance&secCol=-&',
67 + varname: "input",
68 + seps: " ,|",
69 + offsety: 13
70 + });
71 + });
72 + }
23 23   }); // end of doc observe
24 24  })();

Get Connected