feat: Aggiunta estendibilità migliorata per il footer

This commit is contained in:
Maicol Battistini 2023-07-05 15:51:50 +02:00
parent 7e15bade8d
commit 9beb4987f4
No known key found for this signature in database
1 changed files with 17 additions and 3 deletions

View File

@ -5,12 +5,26 @@ export default class Footer extends Component {
view() {
return (
<footer>
<a href="https://openstamanager.com">{__('OpenSTAManager')}</a>
{this.leftFooter()}
<div class="right-footer">
<strong>{__('Versione')}</strong> {app.VERSION}&nbsp;
<small>(<code>{app.REVISION}</code>)</small>
{this.rightFooter()}
</div>
</footer>
);
}
leftFooter() {
return (
<a href="https://openstamanager.com">{__('OpenSTAManager')}</a>
);
}
rightFooter() {
return (
<>
<strong>{__('Versione')}</strong> {app.VERSION}&nbsp;
<small>(<code>{app.REVISION}</code>)</small>
</>
);
}
}