Browse Source

Tightens up Pro access message

main
Eric Amodio 2 years ago
parent
commit
082b4405c2
2 changed files with 8 additions and 4 deletions
  1. +5
    -2
      src/webviews/apps/home/components/header-card.ts
  2. +3
    -2
      src/webviews/apps/plus/graph/GraphWrapper.tsx

+ 5
- 2
src/webviews/apps/home/components/header-card.ts View File

@ -33,8 +33,11 @@ const template = html`
></a>
`,
)}
You have access to GitLens+ features on ${x => (x.isPro ? 'any repo' : 'local & public repos')}, and all
other GitLens features on any repo.<br /><br />
${x =>
x.isPro
? 'You have access to all GitLens and GitLens+ features on any repo.'
: 'You have access to GitLens+ features on local & public repos, and all other GitLens features on any repo.'}
<br /><br />
indicates GitLens+ features, <a class="link-inline" href="command:gitlens.plus.learn">learn more</a>
</pop-over>
</span>

+ 3
- 2
src/webviews/apps/plus/graph/GraphWrapper.tsx View File

@ -557,8 +557,9 @@ export function GraphWrapper({
)}
</span>
<PopOver placement="bottom end" className="badge-popover">
You have access to GitLens+ features on {isPro ? 'any repo' : 'local & public repos'}, and all other
GitLens features on any repo.
{isPro
? 'You have access to all GitLens and GitLens+ features on any repo.'
: 'You have access to GitLens+ features on local & public repos, and all other GitLens features on any repo.'}
<br />
<br /> indicates GitLens+ features
</PopOver>

Loading…
Cancel
Save