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:
commit
6a4b2a44a1
|
@ -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);
|
||||
|
|
|
@ -24,6 +24,12 @@ body {
|
|||
background:#eee;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: right;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.trait { /* hr */
|
||||
background-color: #EEE;
|
||||
height: 5px;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -49,5 +49,6 @@
|
|||
{if isset($tracking_code)}
|
||||
{$tracking_code}
|
||||
{/if}
|
||||
<section class="footer">{__f('Version', 'Version: %s', $APPLICATION_VERSION)}</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue