Added version number (#4871).

This commit is contained in:
Didier Clermonté 2021-08-28 18:44:20 +02:00 committed by root
parent 8d9770c584
commit ff62406853
2 changed files with 5 additions and 1 deletions

View File

@ -106,3 +106,6 @@ function smarty_modifier_locale_2_lang($locale) {
function path_for_datepicker_locale($lang) {
return __DIR__ . '/../../js/locales/bootstrap-datepicker.' . $lang . '.js';
}
# Customization #4871 par Didier le 28/08/2021.
$smarty->assign('VERSION',VERSION);

View File

@ -15,9 +15,10 @@
{/if}
<h1 class="row col-xs-12 col-sm-10">
<a href="{$SERVER_URL|html}" title="{__('Generic', 'Home')} - {$APPLICATION_NAME|html}" >
<a href="{$SERVER_URL|html}" title="{__('Generic', 'Home')} - {$APPLICATION_NAME|html}" style="float:left;">
<img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}" class="img-responsive"/>
</a>
<span style="font-size:small;">&#160;version chapril-{$VERSION|html}</span>
</h1>
{if !empty($title)}<h2 class="lead col-xs-12"><i>{$title|html}</i></h2>{/if}
<div class="trait col-xs-12" role="presentation"></div>