Skip to content

Commit 9347f79

Browse files
committed
improve messaging on modal
1 parent 4ca52d3 commit 9347f79

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,23 @@ export class GlFeatureGatePlusState extends LitElement {
136136
if (this.allowFeaturePreviewTrial) {
137137
const daysLeft = proPreviewLengthInDays - consumedDaysCount;
138138
return html`
139-
<gl-button appearance="${appearance}" href="${this.featurePreviewTrialCommandLink}"
140-
>Continue</gl-button
141-
>
139+
<p class="actions">
140+
<gl-button class="inline" href="${generateCommandLink(Commands.PlusSignUp, this.source)}"
141+
>Start ${proTrialLengthInDays}-day Pro Trial</gl-button
142+
>
143+
&nbsp; or &nbsp;
144+
<gl-button
145+
class="inline"
146+
appearance="${appearance}"
147+
href="${this.featurePreviewTrialCommandLink}"
148+
>Continue</gl-button
149+
>
150+
</p>
151+
142152
<p>
143153
Continuing gives you ${pluralize('day', daysLeft)} to preview
144-
${this.featureWithArticleIfNeeded
145-
? `${this.featureWithArticleIfNeeded} and other `
146-
: ''}local
147-
Pro features.<br />
154+
${this.featureWithArticleIfNeeded ? `${this.featureWithArticleIfNeeded} on` : ''} private
155+
repositories.<br />
148156
${appearance !== 'alert' ? html`<br />` : ''} For full access to Pro features
149157
<a href="${generateCommandLink(Commands.PlusSignUp, this.source)}"
150158
>start your free ${proTrialLengthInDays}-day Pro trial</a

0 commit comments

Comments
 (0)