diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss
index 28b6a8d6e6..7adf40e163 100644
--- a/assets/scss/_custom.scss
+++ b/assets/scss/_custom.scss
@@ -765,3 +765,24 @@ dl {
margin-top: 1.5em;
}
}
+
+.release-details {
+ padding-left: 2em;
+
+ > :not(p) {
+ font-size: 1.125em;
+ }
+
+ .release-inline-heading, .release-inline-value {
+ display: inline-block
+ }
+
+ .release-inline-value {
+ padding-left: 0.25em;
+ }
+
+ p {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ }
+}
diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml
index 6ed8b8a731..f6373cdfc0 100644
--- a/data/i18n/en/en.toml
+++ b/data/i18n/en/en.toml
@@ -189,6 +189,10 @@ other = "Read about"
[main_read_more]
other = "Read more"
+[not_applicable]
+# Localization teams: it's OK to use a longer text here
+other = "n/a"
+
[note]
other = "Note:"
@@ -207,6 +211,12 @@ other = "Before you begin"
[previous_patches]
other = "Patch Releases:"
+[release_date_after]
+other = ")"
+
+[release_date_before]
+other = "(released: "
+
[seealso_heading]
other = "See Also"
diff --git a/layouts/shortcodes/release-data.html b/layouts/shortcodes/release-data.html
index d998847dfc..e182cb82ae 100644
--- a/layouts/shortcodes/release-data.html
+++ b/layouts/shortcodes/release-data.html
@@ -1,34 +1,45 @@
{{ range $data := .Site.Data.releases.schedule.schedules }}
{{- $dataVersion := printf "%.2f" $data.release -}}
-
{{ if not $data.previousPatches }}
-
{{ T "latest_release" }} {{ printf "%s.0" $dataVersion }}
-
-
{{ T "end_of_life" }} {{ printf "%s" $data.endOfLifeDate }}
-
-
{{ T "previous_patches" }} n/a
+
+{{ T "latest_release" }}{{ printf "%s.0" $dataVersion }}
+
+
+ {{ T "end_of_life" }}{{ printf "%s" $data.endOfLifeDate }}
+
+
+ {{ T "previous_patches" }} {{ T "not_applicable" }}
+
{{ end }}
{{ if $data.previousPatches }}
-
{{ T "latest_release" }} {{ index $data.previousPatches 0 "release" }} (released: {{ index $data.previousPatches 0 "targetDate" }})
-
-
{{ T "end_of_life" }} {{ printf "%s" $data.endOfLifeDate }}
-
+
+ {{ T "latest_release" }}{{ index $data.previousPatches 0 "release" }} {{ T "release_date_before" }}{{ index $data.previousPatches 0 "targetDate" }}{{ T "release_date_after" }}
+
+
+ {{ T "end_of_life" }}{{ printf "%s" $data.endOfLifeDate }}
+
+
{{ T "previous_patches" }}
- {{ range $previousPatchesList := $data.previousPatches }}
- {{range $previous_patches_key, $previous_patches_value := $previousPatchesList }}
- {{ if eq $previous_patches_key "release" }}
{{ printf "%s" $previous_patches_value }}{{ T "inline_list_separator" }}
- {{ end }}
- {{ end }}
- {{ end }}
-{{ end }}
+
+ {{- range $key, $value := sort $data.previousPatches ".targetDate" "asc" -}}
+ {{ if $key }}{{ T "inline_list_separator" }}{{ end }}
+ {{ printf "%s" .release }}
+ {{- end -}}
+{{- end -}}
+
+
+
+
+Complete {{ $dataVersion }} Schedule
+and Changelog
+
-
-Complete {{ $dataVersion }}
Schedule and
Changelog
-
+
{{ end }}