2021-05-06 23:46:08 +00:00
{{ range $data := .Site.Data.releases.schedule.schedules }}
{{- $dataVersion := printf "%.2f" $data.release -}}
2021-10-03 20:30:09 +00:00
{{- $dataIdVersion := replace ( printf "%.2f" $data.release ) "." "-" | anchorize -}}
< h3 id = "release-v{{ $dataIdVersion }}" > {{ $dataVersion }}< / h3 >
2021-05-06 23:46:08 +00:00
2021-10-03 20:30:09 +00:00
< div class = "release-details" >
2021-05-06 23:46:08 +00:00
{{ if not $data.previousPatches }}
2021-12-14 17:36:09 +00:00
<!-- initial minor release -->
2021-10-03 20:30:09 +00:00
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "latest_release" }}< / b > < span class = "release-inline-value" > {{ printf "%s.0" $dataVersion }}{{ if isset $data "releaseDate" }} {{ T "release_date_before" }}< time datetime = "{{ time.Format " 2006-01-02 " $ data . releaseDate } } " > {{ time.Format ( T "release_date_format") $data.releaseDate }}< / time > {{ T "release_date_after" }}{{- end -}}< / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "end_of_life" }}< / b > < span class = "release-eoldate release-inline-value" > < time datetime = "{{ time.Format " 2006-01-02 " $ data . endOfLifeDate } } " > {{ time.Format ( T "release_date_format") $data.endOfLifeDate }}< / time > < / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
< b class = "release-inline-heading" > {{ T "previous_patches" }}< / b > < span class = "notapplicable release-inline-value" > {{ T "not_applicable" }}< / span >
< / div >
2021-12-14 17:36:09 +00:00
{{- else -}}
2021-10-03 20:30:09 +00:00
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "latest_release" }}< / b > < span class = "release-inline-value" > {{ index $data.previousPatches 0 "release" }} {{ T "release_date_before" }}< time datetime = "{{ time.Format " 2006-01-02 " ( index $ data . previousPatches 0 " targetDate " ) } } " > {{ time.Format ( T "release_date_format") ( index $data.previousPatches 0 "targetDate" ) }}< / time > {{ T "release_date_after" }}< / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "end_of_life" }}< / b > < span class = "release-eoldate release-inline-value" > < time datetime = "{{ time.Format " 2006-01-02 " $ data . endOfLifeDate } } " > {{ time.Format ( T "release_date_format") $data.endOfLifeDate }}< / time > < / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-05-06 23:46:08 +00:00
< b > {{ T "previous_patches" }}< / b >
2021-10-03 20:30:09 +00:00
< span class = "release-prevpatches release-inline-value" >
{{- range $key, $value := sort $data.previousPatches ".targetDate" "asc" -}}
{{ if $key }}{{ T "inline_list_separator" }}{{ end }}
< a href = "https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md#v{{ replace .release `.` `` }}" > {{ printf "%s" .release }}< / a >
{{- end -}}
< / span >
< / div >
2021-05-06 23:46:08 +00:00
2021-12-14 17:36:09 +00:00
{{- end -}}
2021-10-03 20:30:09 +00:00
<!-- not yet localized, mark as English -->
< p lang = "en" >
Complete {{ $dataVersion }} < a href = "/releases/patch-releases/#{{ replace $dataVersion `.` `-` }}" > Schedule< / a >
and < a href = "https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md" > Changelog< / a >
< / p >
2021-05-06 23:46:08 +00:00
2021-10-03 20:30:09 +00:00
< / div >
2021-05-06 23:46:08 +00:00
{{ end }}