|
|
@ -20,16 +20,6 @@ const template = html` |
|
|
|
>Try GitLens+ features on private repos</vscode-button |
|
|
|
> |
|
|
|
</p> |
|
|
|
<p class="mb-0"> |
|
|
|
${when( |
|
|
|
x => x.plus, |
|
|
|
html<PlusBanner>`<a class="minimal" href="command:gitlens.plus.hide">Hide GitLens+ features</a>`, |
|
|
|
)} |
|
|
|
${when( |
|
|
|
x => !x.plus, |
|
|
|
html<PlusBanner>`<a href="command:gitlens.plus.restore">Restore GitLens+ features</a>`, |
|
|
|
)} |
|
|
|
</p> |
|
|
|
`,
|
|
|
|
)} |
|
|
|
${when( |
|
|
@ -121,6 +111,26 @@ const template = html` |
|
|
|
</p> |
|
|
|
`,
|
|
|
|
)} |
|
|
|
${when( |
|
|
|
x => |
|
|
|
[ |
|
|
|
SubscriptionState.Free, |
|
|
|
SubscriptionState.FreePreviewTrialExpired, |
|
|
|
SubscriptionState.FreePlusTrialExpired, |
|
|
|
].includes(x.state), |
|
|
|
html<PlusBanner>`
|
|
|
|
<p class="mb-0"> |
|
|
|
${when( |
|
|
|
x => x.plus, |
|
|
|
html<PlusBanner>`<a class="minimal" href="command:gitlens.plus.hide">Hide GitLens+ features</a>`, |
|
|
|
)} |
|
|
|
${when( |
|
|
|
x => !x.plus, |
|
|
|
html<PlusBanner>`<a href="command:gitlens.plus.restore">Restore GitLens+ features</a>`, |
|
|
|
)} |
|
|
|
</p> |
|
|
|
`,
|
|
|
|
)} |
|
|
|
`;
|
|
|
|
|
|
|
|
const styles = css`
|
|
|
|