Show current year in default-layout.component.html

This commit is contained in:
grossmj 2024-07-11 23:39:53 +02:00
parent 78b910504d
commit e5af89821d
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD
2 changed files with 2 additions and 1 deletions

View File

@ -39,4 +39,4 @@
<app-progress></app-progress>
<footer class="footer mat-app-background">GNS3 Web UI &copy; 2020 - v{{ uiVersion }}</footer>
<footer class="footer mat-app-background">GNS3 Web-UI &copy;2018-{{ currentYear }} v{{ uiVersion }}</footer>

View File

@ -17,6 +17,7 @@ import { version } from './../../version';
export class DefaultLayoutComponent implements OnInit, OnDestroy {
public isInstalledSoftwareAvailable = false;
public uiVersion = version;
public currentYear = new Date().getFullYear();
serverStatusSubscription: Subscription;
shouldStopServersOnClosing = true;