mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
31 lines
598 B
TypeScript
31 lines
598 B
TypeScript
import {Component} from 'mithril-utilities';
|
|
|
|
export default class Footer extends Component {
|
|
// noinspection JSMethodCanBeStatic
|
|
view() {
|
|
return (
|
|
<footer>
|
|
{this.leftFooter()}
|
|
<div class="right-footer">
|
|
{this.rightFooter()}
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|
|
|
|
leftFooter() {
|
|
return (
|
|
<a href="https://openstamanager.com">{__('OpenSTAManager')}</a>
|
|
);
|
|
}
|
|
|
|
rightFooter() {
|
|
return (
|
|
<>
|
|
<strong>{__('Versione')}</strong> {app.VERSION}
|
|
<small>(<code>{app.REVISION}</code>)</small>
|
|
</>
|
|
);
|
|
}
|
|
}
|