File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export class HomeApp extends App<State> {
103103 const remaining = getSubscriptionTimeRemaining ( subscription , 'days' ) ?? 0 ;
104104 DOM . insertTemplate ( 'state:plus-trial' , this . $slot1 , {
105105 bindings : {
106+ plan : subscription . plan . effective . name ,
106107 trialDays : `${ remaining === 1 ? `${ remaining } day` : `${ remaining } days` } ` ,
107108 } ,
108109 } ) ;
@@ -114,7 +115,7 @@ export class HomeApp extends App<State> {
114115 DOM . insertTemplate ( welcomeVisible ? 'welcome' : 'links' , this . $slot2 ) ;
115116 break ;
116117 case SubscriptionState . Paid :
117- DOM . insertTemplate ( 'state:paid' , this . $slot1 ) ;
118+ DOM . insertTemplate ( 'state:paid' , this . $slot1 , { bindings : { plan : subscription . plan . effective . name } } ) ;
118119 DOM . insertTemplate ( welcomeVisible ? 'welcome' : 'links' , this . $slot2 ) ;
119120 break ;
120121 }
Original file line number Diff line number Diff line change 11< template id ="state:plus-trial ">
22 < section >
3- < h3 > GitLens+ Pro Trial</ h3 >
3+ < h3 > < span data-bind =" plan " > GitLens+ Pro</ span > Trial</ h3 >
44 < p >
55 You have < span data-bind ="trialDays "> 7 days</ span > left in your
66 < a title ="Learn more about GitLens+ features " href ="command:gitlens.plus.learn "> GitLens+ features</ a >
You can’t perform that action at this time.
0 commit comments