Display version name in the footer, Fixes: #359

This commit is contained in:
ziajka 2019-03-27 12:46:09 +01:00
parent dcd4d2f8fa
commit 12ba435fa6
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,6 @@
<app-progress></app-progress> <app-progress></app-progress>
<footer class="footer mat-app-background"> <footer class="footer mat-app-background">
GNS3 Web UI &copy; 2019 GNS3 Web UI &copy; 2019 - v{{ uiVersion }}
</footer> </footer>

View File

@ -5,6 +5,8 @@ import { ServerManagementService } from '../../services/server-management.servic
import { Subscription } from 'rxjs'; import { Subscription } from 'rxjs';
import { ToasterService } from '../../services/toaster.service'; import { ToasterService } from '../../services/toaster.service';
import { ProgressService } from '../../common/progress/progress.service'; import { ProgressService } from '../../common/progress/progress.service';
import { version } from './../../version';
@Component({ @Component({
selector: 'app-default-layout', selector: 'app-default-layout',
@ -14,7 +16,8 @@ import { ProgressService } from '../../common/progress/progress.service';
}) })
export class DefaultLayoutComponent implements OnInit, OnDestroy { export class DefaultLayoutComponent implements OnInit, OnDestroy {
public isInstalledSoftwareAvailable = false; public isInstalledSoftwareAvailable = false;
public uiVersion = version;
serverStatusSubscription: Subscription; serverStatusSubscription: Subscription;
shouldStopServersOnClosing = true; shouldStopServersOnClosing = true;