Thomas Kaul 
					
					4 years ago  
					
						
							 committed by 
							
								 
								GitHub 
							
						 
					
				 
				
			 
		 
		
			
				
					 
					No known key found for this signature in database
					
						
							GPG Key ID:   4AEE18F83AFDEB23 
						
					
				
			
		
		
		
	
		
			
				 4 changed files  with 
24 additions  and 
4 deletions 
			 
			
		 
		
			
				
					
					
					  
					CHANGELOG.md 
				 
			
				
					
					
					  
					apps/client/src/app/pages/account/account-page.component.ts 
				 
			
				
					
					
					  
					apps/client/src/app/pages/account/account-page.html 
				 
			
				
					
					
					  
					package.json 
				 
			
		 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					
						
						
							
								 
							 
						
						
					 
				
				 
				
					@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ), 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ). 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					## 1.119.0 - 21.02.2022 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					### Added 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					- Added a trial for the subscription 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					## 1.118.0 - 20.02.2022 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					### Changed 
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
						
					 
				
				 
				
					 
				
			 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					
						
						
							
								 
							 
						
						
					 
				
				 
				
					@ -55,6 +55,8 @@ export class AccountPageComponent implements OnDestroy, OnInit { 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  public  price : number ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  public  priceId : string ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  public  snackBarRef : MatSnackBarRef < TextOnlySnackBar > ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  public  trySubscriptionMail  =  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					    'mailto:hi@ghostfol.io?Subject=Ghostfolio Premium Trial&body=Hello%0D%0DI am interested in Ghostfolio Premium. Can you please send me a coupon code to try it for some time?%0D%0DKind regards' ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  public  user : User ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  private  unsubscribeSubject  =  new  Subject < void > ( ) ;  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
						
					 
				
				 
				
					 
				
			 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					
						
						
							
								 
							 
						
						
					 
				
				 
				
					@ -23,12 +23,12 @@ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  name="diamond-outline" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                >< / ion-icon >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              < / div >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              < div  * ngIf = "user?.subscription?.expiresAt " >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              < div  * ngIf = "user?.subscription?.type === 'Premium' " >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                Valid until {{ user?.subscription?.expiresAt | date: 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                defaultDateFormat }} 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              < / div >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              < div  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                *ngIf="hasPermissionForSubscription & &  !user?.subscription?.expiresAt " 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                *ngIf="hasPermissionForSubscription & &  user?.subscription?.type === 'Basic' " 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					              > 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                < button  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  color="primary" 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				
					@ -48,8 +48,20 @@ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  < span  i18n >  per year< / span >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                < / div >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                < a  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  class="cursor-pointer d-block mt-2" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  *ngIf="!user?.subscription?.expiresAt" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  class="mr-2 my-2" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  mat-stroked-button 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  [href]="trySubscriptionMail" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  >< span  i18n > Try Premium< /span 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  >< ion-icon  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                    class="ml-1 text-muted" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                    name="diamond-outline" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  >< /ion-icon 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                >< / a >  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                < a  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  class="mr-2 my-2" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  i18n 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  mat-stroked-button 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  [routerLink]="" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  (click)="onRedeemCoupon()" 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					                  >Redeem Coupon< /a 
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
						
					 
				
				 
				
					 
				
			 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					
						
						
						
					 
				
				 
				
					@ -1,6 +1,6 @@ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					{  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "name" :  "ghostfolio" ,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "version" :  "1.118 .0" ,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "version" :  "1.119 .0" ,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "homepage" :  "https://ghostfol.io" ,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "license" :  "AGPL-3.0" ,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				
					  "scripts" :  {