Kaynağa Gözat

Tightens up Pro access message

main
Eric Amodio 1 yıl önce
ebeveyn
işleme
082b4405c2
2 değiştirilmiş dosya ile 8 ekleme ve 4 silme
  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 Dosyayı Görüntüle

@ -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 Dosyayı Görüntüle

@ -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>

Yükleniyor…
İptal
Kaydet