Skip to content

Commit

Permalink
fix(chore): 2020 is over and added version to sidebar (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrumboe authored Aug 19, 2021
1 parent cb83787 commit 714dd91
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ site_name: Leapp
site_url: https://example.com/
repo_url: https://github.com/Noovolari/leapp
site_description: 'Leapp is a tool for developers to manage, secure, and gain access to any cloud. From setting up your access data to activating a session, Leapp can help manage the underlying assets to let you use your provider CLI or SDK seamlessy.'
copyright: '© 2020 Noovolari, All rights reserved. | Powered by beSharp'
copyright: '© 2021 Noovolari, All rights reserved. | Powered by beSharp'

nav:
- Overview: index.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<br>
<br>
<div class="copy">
<span>Leapp | © 2020 Noovolari</span>
<span>Leapp {{version}} | © 2021 Noovolari</span>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class ProfileSidebarComponent implements OnInit {

profileOpen = false;
test: any;
version;

constructor(
private appService: AppService,
Expand All @@ -30,6 +31,8 @@ export class ProfileSidebarComponent implements OnInit {
* Init the profile sidebar using the event emitter status listener
*/
ngOnInit() {
this.version = this.appService.getApp().getVersion();

this.appService.profileOpen.subscribe(res => {
this.profileOpen = res;
if (this.profileOpen) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/shared/tray-menu/tray-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class TrayMenuComponent implements OnInit, OnDestroy {
{
label: 'About', type: 'normal', click: () => {
this.appService.getCurrentWindow().show();
this.appService.getDialog().showMessageBox({icon: __dirname + `/assets/images/Leapp.png`, message: `Leapp.\n` + `Version ${version} (${version})\n` + 2020 Noovolari', buttons: ['Ok']});
this.appService.getDialog().showMessageBox({icon: __dirname + `/assets/images/Leapp.png`, message: `Leapp\n` + `Version ${version} (${version})\n` + 2021 Noovolari', buttons: ['Ok']});
}
},
{type: 'separator'},
Expand Down

0 comments on commit 714dd91

Please sign in to comment.