瀏覽代碼

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…
取消
儲存