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>
<footer class="footer mat-app-background">
GNS3 Web UI &copy; 2019
GNS3 Web UI &copy; 2019 - v{{ uiVersion }}
</footer>

View File

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