@@ -122,13 +122,34 @@ export class GlFeatureGatePlusState extends LitElement {
122122
123123 case SubscriptionState . Community :
124124 case SubscriptionState . ProPreviewExpired :
125- return html `
126- ${ feature !== 'graph'
127- ? html `< p >
128- Use on privately-hosted repos requires
129- < a href ="${ urls . gitlensProVsCommunity } "> GitLens Pro</ a > .
130- </ p > `
131- : nothing }
125+ if ( feature === 'graph' && this . state === SubscriptionState . Community ) {
126+ return html `
127+ < gl-button
128+ appearance ="${ appearance } "
129+ href ="${ generateCommandLink ( Commands . PlusStartPreviewTrial , this . source ) } "
130+ > Continue</ gl-button
131+ >
132+ < p >
133+ Continuing gives you 3 days to preview
134+ ${ this . featureWithArticleIfNeeded
135+ ? `${ this . featureWithArticleIfNeeded } and other `
136+ : '' } local
137+ Pro features.< br />
138+ ${ appearance !== 'alert' ? html `< br /> ` : '' } For full access to Pro features
139+ < a href ="${ generateCommandLink ( Commands . PlusSignUp , this . source ) } "
140+ > start your free ${ proTrialLengthInDays } -day Pro trial</ a
141+ >
142+ or
143+ < a href ="${ generateCommandLink ( Commands . PlusLogin , this . source ) } " title ="Sign In "> sign in</ a
144+ > .
145+ </ p >
146+ ` ;
147+ }
148+
149+ return html `< p >
150+ Use on privately-hosted repos requires
151+ < a href ="${ urls . gitlensProVsCommunity } "> GitLens Pro</ a > .
152+ </ p >
132153 < gl-button
133154 appearance ="${ appearance } "
134155 href ="${ generateCommandLink ( Commands . PlusSignUp , this . source ) } "
@@ -137,8 +158,7 @@ export class GlFeatureGatePlusState extends LitElement {
137158 < p >
138159 Get ${ proTrialLengthInDays } days of GitLens Pro for free - no credit card required. Or
139160 < a href ="${ generateCommandLink ( Commands . PlusLogin , this . source ) } " title ="Sign In "> sign in</ a > .
140- </ p >
141- ` ;
161+ </ p > ` ;
142162
143163 case SubscriptionState . ProTrialExpired :
144164 return html `< p >
0 commit comments