Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | ## ########################################################################################################## | ||
3 | ## $versions = Version Number (0) - Release Date (1) - Type (2) {LTS, stable, development} - Release Notes Page (3) - Release Summary (4) | ||
4 | #set ($versions = [ | ||
5 | ['8.4.5', '24 April 2017', 'LTS', 'xwiki:ReleaseNotes.Data.XWiki.8\.4\.5.WebHome', ' | ||
6 | * Bug fixes | ||
7 | '], | ||
8 | ['9.6', '22 July 2017', 'stable', 'xwiki:ReleaseNotes.Data.XWiki.9.6.WebHome', ' | ||
9 | * Live email notifications | ||
10 | * Notifications RSS feed | ||
11 | * Generate TOC for another page | ||
12 | * Optional extension dependencies | ||
13 | * Recommended extension versions | ||
14 | '] | ||
15 | ]) | ||
16 | ## ########################################################################################################## | ||
17 | ## $versionDetails = TypeID: Name (0) - Button Style (1) - Notes (2) | ||
18 | #set ($versionDetails = { | ||
19 | 'LTS': ['Long Term Support', 'primary', 'Note: This version is the latest stable version from the last XWiki cycle. This is the most stable version and is what we recommend to use in production.'], | ||
20 | 'stable': ['Stable', 'info', 'Note: This version is the latest stable version from the current XWiki cycle. This is the version recommended if you wish to try out the new features from the cycle.'], | ||
21 | 'development': ['Development', 'success', 'Note: This version is the latest development version from the current XWiki cycle. This is the version to use if you want to test the really latest feature and provide feedback. Not for production.'] | ||
22 | }) | ||
23 | ## ################################################################ | ||
24 | ## Generate the versions layout | ||
25 | ## ################################################################ | ||
26 | #macro(downloadVersionsLayout $versions $versionDetails) | ||
27 | (% class='download-options' %)((( | ||
28 | #foreach($version in $versions) | ||
29 | (% class='col-xs-12 download-container download-option version-option border-$version.get(2)' %) | ||
30 | ((( | ||
31 | (% class="download-version fill-$version.get(2)"%)$version.get(0)(% class='noitems pull-right'%)$version.get(1) | ||
32 | === $versionDetails.get(${version.get(2)})[0] === | ||
33 | $version.get(4) | ||
34 | (% class='noitems' %)$versionDetails.get(${version.get(2)})[2] | ||
35 | (% class='version-footer' %)((([[Download>>.DownloadVersion||class="btn btn-${versionDetails.get(${version.get(2)})[1]}" queryString="projectVersion=${version.get(0)}"]][[Release Notes>>$version.get(3)||class='btn btn-link']]))) | ||
36 | #if ($version.size() >= 6) | ||
37 | (% class="noitems version-warning" %) | ||
38 | $version.get(5) | ||
39 | #end | ||
40 | ))) | ||
41 | #end | ||
42 | ))) | ||
43 | #end | ||
44 | #downloadVersionsLayout($versions, $versionDetails){{/velocity}} | ||
45 | |||
46 | (%class="noitems"%)Interested in testing the latest snapshots builds or older versions? See [[more versions>>Download.DownloadOther]]. You can also use a [[Hosted version of XWiki>>Hosted]] instead of installing it yourself. |