Displaying version in download section

This commit is contained in:
Adsooi 2021-08-13 18:13:10 +02:00
parent 6e74010b99
commit 1babf92326
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@
"other": "Technical sheet"
},
"downloadApp": {
"other": "{{ .Name }} is available on {{ .Platforms }}."
"other": "{{ .Name }} v{{ .Version }} is available on {{ .Platforms }}."
},
"warnExternalWebsite": {
"other": "(external link to {{ . }})"

View file

@ -15,7 +15,7 @@
"other": "Fiche technique"
},
"downloadApp": {
"other": "{{ .Name }} est disponible sur {{ .Platforms }}."
"other": "{{ .Name }} v{{ .Version }} est disponible sur {{ .Platforms }}."
},
"warnExternalWebsite": {
"other": "(lien externe vers {{ . }})"

View file

@ -104,7 +104,7 @@
<section id="download-section" class="center content-center padding-container text-center">
<hr>
<h1 class="flex flex-center"><i class="icon-download icon-larger-text"></i>{{ i18n "download" }}</h1>
{{ i18n "downloadApp" (dict "Name" .Name "Platforms" (delimit $AppData.platforms ", ")) }}
{{ i18n "downloadApp" (dict "Name" .Name "Version" $AppData.version "Platforms" (delimit $AppData.platforms ", ")) }}
<br><br>
<!-- download table -->
<div class="center columns-container">