diff --git a/site/layouts/shortcodes/translation_status.html b/site/layouts/shortcodes/translation_status.html
index 0ddbfb8..9bd6a90 100644
--- a/site/layouts/shortcodes/translation_status.html
+++ b/site/layouts/shortcodes/translation_status.html
@@ -1,11 +1,11 @@
{{- $.Scratch.Set "allgood" true -}}
{{- range .Site.Pages -}}
{{- $.Scratch.Set "uptodate" true -}}
- {{- $maindate := .Lastmod -}}
+ {{- $main_date := .Lastmod -}}
{{- range .Translations -}}
{{- if and (.IsTranslated) (.IsPage) -}}
{{- $i18n_date := .Lastmod -}}
- {{- if ($maindate.After $i18n_date) -}}
+ {{- if ($main_date.After $i18n_date) -}}
{{- $.Scratch.Set "uptodate" false -}}
{{- $.Scratch.Set "allgood" false -}}
{{- end -}}
@@ -19,17 +19,21 @@
Page |
Translation date |
Original date |
+ Version Diff |
- {{ $maindate := .Lastmod -}}
+ {{ $main_date := .Lastmod -}}
+ {{- $main_version := .Params.version -}}
{{ range sort .Translations ".Lang" }}
{{- if and (.IsTranslated) (.IsPage) -}}
{{- $i18n_date := .Lastmod -}}
- {{- if ($maindate.After $i18n_date) -}}
+ {{- $i18n_version := .Params.version -}}
+ {{- if ($main_date.After $i18n_date) -}}
{{ .Lang | upper }} |
{{ .File.Path }} |
- {{ $i18n_date.Format "2006-01-02" }} |
- {{ $maindate.Format "2006-01-02" }} |
+ {{ $i18n_date.Format "2006-01-02" }} (v{{ $i18n_version }}) |
+ {{ $main_date.Format "2006-01-02" }} (v{{ $main_version }}) |
+ {{ sub $main_version $i18n_version }} |
{{- end -}}
{{- end -}}
diff --git a/site/static/css/custom.css b/site/static/css/custom.css
index 80dee4a..7a418b2 100644
--- a/site/static/css/custom.css
+++ b/site/static/css/custom.css
@@ -334,13 +334,16 @@ table.transstatus td:nth-child(1), table.transstatus th:nth-child(1) {
width: 10%;
}
table.transstatus td:nth-child(2), table.transstatus th:nth-child(2) {
- width: 40%;
+ width: 35%;
}
table.transstatus td:nth-child(3), table.transstatus th:nth-child(3) {
- width: 25%;
+ width: 20%;
}
table.transstatus td:nth-child(4), table.transstatus th:nth-child(4) {
- width: 25%;
+ width: 20%;
+}
+table.transstatus td:nth-child(5), table.transstatus th:nth-child(5) {
+ width: 15%;
}
table.transstatus thead {
background-color: rgba(230, 230, 230, 0.3);