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

Summary

Details

Page properties
Content
... ... @@ -1,35 +1,7 @@
1 1  = Generate Report =
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.HomeGenerateReleaseNotes"/}}
6 6  
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 -
33 33  = Existing Changes =
34 34  
35 35  {{velocity}}
... ... @@ -66,8 +66,8 @@
66 66  <form>
67 67   <input type="hidden" name="action" value="add"/>
68 68   <input type="hidden" name="template" value="${topSpace}.Code.ChangesTemplate"/>
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"/>
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"/>
71 71   <span class="buttonwrapper">
72 72   <input class="button" type="submit" value="Add Change"/>
73 73   </span>
XWiki.JavaScriptExtension[0]
Code
... ... @@ -10,26 +10,6 @@
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 - }
33 33   if($('product')) {
34 34   Event.observe($('product'), "focus", function() {
35 35   new XWiki.widgets.Suggest(this, {
... ... @@ -40,35 +40,5 @@
40 40   });
41 41   });
42 42   }
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 - }
73 73   }); // end of doc observe
74 74  })();

Get Connected