Преглед изворни кода

Tightens up Pro access message

main
Eric Amodio пре 1 година
родитељ
комит
082b4405c2
2 измењених фајлова са 8 додато и 4 уклоњено
  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 Прегледај датотеку

@ -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 Прегледај датотеку

@ -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…
Откажи
Сачувај