2022-02-21 18:45:30 +03:00
|
|
|
{{#if (feature "selectablePortalLinks")}}
|
2021-06-29 21:49:25 +03:00
|
|
|
<div class="gh-portal-links-container" {{did-insert (perform this.fetchProducts)}}>
|
2020-07-30 16:12:44 +03:00
|
|
|
<div class="gh-portal-links-main">
|
2020-08-26 18:10:19 +03:00
|
|
|
<h2>Links</h2>
|
2022-02-02 20:09:02 +03:00
|
|
|
<p>Use these {{if this.isLink "links" "data attributes"}} in your theme to show pages of Portal.</p>
|
2020-07-30 16:12:44 +03:00
|
|
|
<table class="gh-portal-links-table">
|
2022-02-21 15:22:21 +03:00
|
|
|
<thead>
|
|
|
|
<tr class="header">
|
|
|
|
<td><h4>Page</h4></td>
|
|
|
|
<td>
|
|
|
|
<div class='toggle-header'>
|
|
|
|
<h4>{{this.sectionHeaderLabel}}</h4>
|
2022-02-21 19:30:03 +03:00
|
|
|
<h4 role="button" class='gh-portal-links-cell toggle' {{on "click" this.toggleShowLinks}}>{{this.toggleValue}}</h4>
|
2020-10-12 14:56:37 +03:00
|
|
|
</div>
|
2022-02-21 15:22:21 +03:00
|
|
|
</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider first" /></td>
|
2021-06-29 21:49:25 +03:00
|
|
|
</tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2021-06-29 21:49:25 +03:00
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td class="pagename">Default</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-02-22 16:36:24 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal"
|
2022-02-22 18:52:11 +03:00
|
|
|
disabled="true"
|
|
|
|
aria-label="Default Portal link">
|
2022-02-22 16:36:24 +03:00
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="data-portal"
|
2022-02-22 18:52:11 +03:00
|
|
|
disabled="true"
|
|
|
|
aria-label="Default Portal data attribute">
|
2022-02-22 16:36:24 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink '')}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice ""))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
2021-05-07 19:37:42 +03:00
|
|
|
</div>
|
2021-06-29 21:49:25 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign in</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signin"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Sign in Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signin"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Sign in Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signin")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signin"))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
2021-06-04 10:47:17 +03:00
|
|
|
</div>
|
2021-06-29 21:49:25 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td class='pagename'>Sign up</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signup")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup"))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
2020-11-20 08:30:27 +03:00
|
|
|
</div>
|
2021-06-29 21:49:25 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
{{#if (and (feature "multipleProducts") (gt this.products.length 1))}}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename strong'>Tier</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<span
|
|
|
|
class="gh-select"
|
|
|
|
data-select-text="test"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<OneWaySelect
|
|
|
|
@id="portal-product-link"
|
|
|
|
@name="portal[product-link]"
|
|
|
|
@options={{this.productOptions}}
|
|
|
|
@optionValuePath="name"
|
|
|
|
@optionLabelPath="label"
|
|
|
|
@value={{this.selectedProduct}}
|
|
|
|
@update={{action "setSelectedProduct"}}
|
|
|
|
/>
|
|
|
|
{{svg-jar "arrow-down-small"}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Monthly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup{{this.selectedProductIdPath}}/monthly"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Monthly sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup{{this.selectedProductIdPath}}/monthly"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Monthly sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyProductSignupLink "monthly")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyProductSignupLink.isRunning (eq this.copiedSignupInterval "monthly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Yearly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup{{this.selectedProductIdPath}}/yearly"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Yearly sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup{{this.selectedProductIdPath}}/yearly"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Yearly sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyProductSignupLink "yearly")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyProductSignupLink.isRunning (eq this.copiedSignupInterval "yearly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Free</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup/free"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Free sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup/free"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Free sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signup/free")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/free"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Monthly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup/monthly"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Monthly sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup/monthly"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Monthly sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signup/monthly")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/monthly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Yearly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup/yearly"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Yearly sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup/yearly"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Yearly sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signup/yearly")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/yearly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Free</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/signup/free"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Free sign up Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="signup/free"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Free sign up Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "signup/free")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/free"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
2021-06-29 21:49:25 +03:00
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td class='pagename'>Account</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/account"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="account"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "account")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account"))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td class='pagename'>Account/Plans</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/account/plans"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account/Plans Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="account/plans"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account/Plans Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "account/plans")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/plans"))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
<td class='pagename'>Account/Profile</td>
|
2021-06-29 21:49:25 +03:00
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
2022-03-01 15:09:36 +03:00
|
|
|
{{#if this.isLink}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value="{{this.siteUrl}}/#/portal/account/profile"
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account/Profile Portal link">
|
|
|
|
{{else}}
|
|
|
|
<input class="gh-input page-url-field"
|
|
|
|
type="text"
|
|
|
|
value='data-portal="account/profile"'
|
|
|
|
disabled="true"
|
|
|
|
aria-label="Account/Profile Portal data attribute">
|
|
|
|
{{/if}}
|
2022-02-21 15:22:21 +03:00
|
|
|
<button type="button" {{action (perform this.copyStaticLink "account/profile")}} class="gh-portal-setting-copy">
|
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/profile"))}}
|
2021-06-29 21:49:25 +03:00
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2022-02-21 15:22:21 +03:00
|
|
|
</tbody>
|
2020-07-30 16:12:44 +03:00
|
|
|
</table>
|
|
|
|
</div>
|
2021-06-29 21:49:25 +03:00
|
|
|
</div>
|
2022-02-21 18:45:30 +03:00
|
|
|
{{else}}
|
|
|
|
<div class="gh-portal-links-container" {{did-insert (perform this.fetchProducts)}}>
|
|
|
|
<div class="gh-portal-links-main">
|
|
|
|
<h2>Links</h2>
|
|
|
|
<p>Use these {{if this.isLink "links" "data attributes"}} in your theme to show pages of Portal.</p>
|
|
|
|
<table class="gh-portal-links-table">
|
|
|
|
<thead>
|
|
|
|
<tr class="header">
|
|
|
|
<td><h4>Page</h4></td>
|
|
|
|
<td>
|
|
|
|
<div class='toggle-header'>
|
|
|
|
<h4>{{this.sectionHeaderLabel}}</h4>
|
2022-02-21 19:30:03 +03:00
|
|
|
<h4 role="button" class='gh-portal-links-cell toggle' {{on "click" this.toggleShowLinks}}>{{this.toggleValue}}</h4>
|
2022-02-21 18:45:30 +03:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider first" /></td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="pagename">Default</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink '')}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice ""))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign in</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signin</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signin"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink 'signin')}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signin"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink 'signup')}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{#if (and (feature "multipleProducts") (gt this.products.length 1))}}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename strong'>Tier</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<span
|
|
|
|
class="gh-select"
|
|
|
|
data-select-text="test"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<OneWaySelect
|
|
|
|
@id="portal-product-link"
|
|
|
|
@name="portal[product-link]"
|
|
|
|
@options={{this.productOptions}}
|
|
|
|
@optionValuePath="name"
|
|
|
|
@optionLabelPath="label"
|
|
|
|
@value={{this.selectedProduct}}
|
2022-02-21 19:30:03 +03:00
|
|
|
@update={{this.setSelectedProduct}}
|
2022-02-21 18:45:30 +03:00
|
|
|
/>
|
|
|
|
{{svg-jar "arrow-down-small"}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Monthly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup{{this.selectedProductIdPath}}/monthly</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup{{this.selectedProductIdPath}}/monthly"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyProductSignupLink 'monthly')}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyProductSignupLink.isRunning (eq this.copiedSignupInterval "monthly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Yearly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup{{this.selectedProductIdPath}}/yearly</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup{{this.selectedProductIdPath}}/yearly"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyProductSignupLink 'yearly')}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyProductSignupLink.isRunning (eq this.copiedSignupInterval "yearly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Free</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup/free"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "signup/free")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/free"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Monthly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/monthly</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup/monthly"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "signup/monthly")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/monthly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Yearly</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/yearly</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup/yearly"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "signup/yearly")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/yearly"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Sign up/Free</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="signup/free"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "signup/free")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/free"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Account</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="account"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "account")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Account/Plans</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/plans</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="account/plans"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "account/plans")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/plans"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class='pagename'>Account/Profile</td>
|
|
|
|
<td class='page-url'>
|
|
|
|
<div class="gh-portal-page-url-container">
|
|
|
|
<div class="page-url-label">
|
|
|
|
{{#if this.isLink}}
|
|
|
|
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/profile</span>
|
|
|
|
{{else}}
|
|
|
|
data-portal="account/profile"
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-02-21 19:55:47 +03:00
|
|
|
<button type="button" {{on "click" (perform this.copyStaticLink "account/profile")}} class="gh-portal-setting-copy">
|
2022-02-21 18:45:30 +03:00
|
|
|
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/profile"))}}
|
|
|
|
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
|
|
|
|
{{else}}
|
|
|
|
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|