<
From version < 4.1 >
edited by Vincent Massol
on 2017/05/31
To version < 5.1
edited by Vincent Massol
on 2021/04/06
Change comment: Install extension [org.xwiki.contrib.releasenotes:application-releasenotes-ui/2.0]

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,13 @@
1 +{{velocity}}
2 +#set ($topSpace = $doc.documentReference.extractFirstReference('SPACE').getName())
3 +#set ($xwql = "from doc.object(${topSpace}.Code.ChangesClass) as changes")
4 +#if ($services.query.xwql($xwql).count() > 0)
5 + {{error}}
6 + There are release changes using the old 1.x format and which need to be [[migrated to the 2.0 format>>${topSpace}.Code.MigrationFrom1x]]. Until you perform this migration, all releases notes using these changes will display empty.
7 + {{/error}}
8 +
9 +#end
10 +{{/velocity}}
1 1  = Release Notes =
2 2  
3 3  {{include reference="ReleaseNotes.Code.HomeReleaseNotes"/}}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -3,7 +3,7 @@
3 3   if($('version')) {
4 4   Event.observe($('version'), "focus", function() {
5 5   new XWiki.widgets.Suggest(this, {
6 - script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=version&secCol=-&',
6 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.EntryClass&fieldname=version&secCol=-&',
7 7   varname: "input",
8 8   seps: " ,|",
9 9   offsety: 13
... ... @@ -13,7 +13,7 @@
13 13   if($('product')) {
14 14   Event.observe($('product'), "focus", function() {
15 15   new XWiki.widgets.Suggest(this, {
16 - script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.ChangesClass&fieldname=product&secCol=-&',
16 + script: '$xwiki.getURL("${doc.space}.WebHome", "view")?xpage=suggest&classname=ReleaseNotes.Code.EntryClass&fieldname=product&secCol=-&',
17 17   varname: "input",
18 18   seps: " ,|",
19 19   offsety: 13

Get Connected