Add chill bundles version in application footer with VersionProvider service

This commit is contained in:
2026-01-05 15:08:59 +01:00
parent 598f1ccfdd
commit a3d72f5298
4 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
kind: Feature
body: Display version of chill bundles in application footer
time: 2026-01-05T15:08:17.317719064+01:00
custom:
Issue: "473"
SchemaChange: No schema change

View File

@@ -2,7 +2,7 @@
<p>
{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the <strong>GNU Affero General Public License</strong>'|trans|raw }}
<br/>
{{ 'Running chill version %version%'|trans({ '%version%': chillBundlesVersion }) }}
{{ 'footer.Running chill version %version%'|trans({ '%version%': chillBundlesVersion.getFormattedVersion() }) }}
<br/>
<a name="bottom" class="btn text-white" href="https://gitea.champs-libres.be/Chill-project/manuals/releases" target="_blank">
{{ 'User manual'|trans }}

View File

@@ -45,6 +45,6 @@ class VersionProvider
return 'Version unavailable';
}
return 'v'.$version;
return $version;
}
}

View File

@@ -48,6 +48,9 @@ See: Voir
Name: Nom
Label: Nom
footer:
Running chill version %version%: Version chill bundles utilisé %version%
user:
current_user: Utilisateur courant
profile: