mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-13 17:37:45 +00:00
Add chill bundles version in application footer with VersionProvider service
This commit is contained in:
6
.changes/unreleased/Feature-20260105-150817.yaml
Normal file
6
.changes/unreleased/Feature-20260105-150817.yaml
Normal 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
|
||||
@@ -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 }}
|
||||
|
||||
@@ -45,6 +45,6 @@ class VersionProvider
|
||||
return 'Version unavailable';
|
||||
}
|
||||
|
||||
return 'v'.$version;
|
||||
return $version;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user