Skip to content

Commit

Permalink
Show current year in default-layout.component.html
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jul 11, 2024
1 parent 78b9105 commit e5af898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 1 addition & 0 deletions src/app/layouts/default-layout/default-layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e5af898

Please sign in to comment.