Skip to content

Commit

Permalink
Adds account view link
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed May 10, 2024
1 parent 728112f commit d89c3c8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/webviews/apps/shared/components/feature-badge.ts
Expand Up @@ -211,9 +211,15 @@ export class GlFeatureBadge extends LitElement {
let content;
switch (this.state) {
case SubscriptionState.Paid:
content = html`Your
${getSubscriptionPlanName(this.subscription?.plan.actual.id ?? SubscriptionPlanId.Pro)} plan provides
access to all Pro features.`;
content = html`<p>
Your
<gl-tooltip placement="bottom" content="Show Account view">
<a href="command:gitlens.showAccountView"
>${getSubscriptionPlanName(this.subscription?.plan.actual.id ?? SubscriptionPlanId.Pro)}</a
>
</gl-tooltip>
plan provides access to all Pro features.
</p>`;
break;

case SubscriptionState.VerificationRequired:
Expand Down

0 comments on commit d89c3c8

Please sign in to comment.