diff --git a/source/assets/javascripts/app/_download.js b/source/assets/javascripts/app/_download.js index 59ad06fd74..c7e62ad55e 100644 --- a/source/assets/javascripts/app/_download.js +++ b/source/assets/javascripts/app/_download.js @@ -145,9 +145,11 @@ var showDownloadLinks = (function ($) { R.map(addDisplayVersion), R.map(addReleaseDate) )(releaseData[0]); + var cloudReleases = R.compose( releasesLessThanAYearOld, - R.sort(compareVersions("go_version")) + R.sort(compareVersions("go_version")), + R.map(addReleaseDate) )(cloudData[0]); var latest_cloud_release = R.head(cloudReleases); diff --git a/source/download.html.erb b/source/download.html.erb index a51e05c224..a7a7c40a5c 100644 --- a/source/download.html.erb +++ b/source/download.html.erb @@ -212,9 +212,12 @@ meta_keywords: "GoCD download, go agent download, go cd download, install gocd"
-
+
Version: {{go_version}}
+
+ Released: {{release_date}} +
{{> show-docker-release server_docker=server_docker agents_docker=agents_docker docker_org=docker_org }}
@@ -227,9 +230,12 @@ meta_keywords: "GoCD download, go agent download, go cd download, install gocd"
{{#each all_other_cloud_releases}}
-
+
Version: {{go_version}}
+
+ Released: {{release_date}} +
{{> show-docker-release server_docker=server_docker agents_docker=agents_docker docker_org=docker_org }}