Merge branch 'framadate-feature/add_version' into 'develop'

Add version in the pages footer

See merge request framasoft/framadate/framadate!366
This commit is contained in:
Thomas Citharel 2019-04-16 12:19:57 +02:00
commit 6a4b2a44a1
4 changed files with 11 additions and 0 deletions

View File

@ -28,6 +28,7 @@ $smarty->caching = false;
$serverName = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '';
$smarty->assign('APPLICATION_NAME', NOMAPPLICATION);
$smarty->assign('APPLICATION_VERSION', VERSION);
$smarty->assign('SERVER_URL', Utils::get_server_name());
$smarty->assign('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']);
$smarty->assign('TITLE_IMAGE', IMAGE_TITRE);

View File

@ -24,6 +24,12 @@ body {
background:#eee;
}
.footer {
text-align: right;
margin-bottom: 1em;
margin-right: 1em;
}
.trait { /* hr */
background-color: #EEE;
height: 5px;

View File

@ -430,6 +430,9 @@
"Your poll will be automatically archived in %d days.": "Your poll will be automatically archived in %d days.",
"after the last date of your poll.": "after the last date of your poll."
},
"Version": {
"Version: %s": "Version: %s"
},
"adminstuds": {
"Add a column": "Add a column",
"Adding a column": "Adding a column",

View File

@ -49,5 +49,6 @@
{if isset($tracking_code)}
{$tracking_code}
{/if}
<section class="footer">{__f('Version', 'Version: %s', $APPLICATION_VERSION)}</section>
</body>
</html>