Added grouping to portal links table to fix linting issue

refs https://github.com/TryGhost/Team/issues/1096
This commit is contained in:
Djordje Vlaisavljevic 2022-02-21 13:22:21 +01:00
parent 1142307b8b
commit f98aafb08b
2 changed files with 299 additions and 294 deletions

View File

@ -1836,3 +1836,4 @@ remove|ember-template-lint|no-nested-landmark|126|24|126|24|a19c12d5f0d5fa9b8909
remove|ember-template-lint|no-duplicate-attributes|9|4|9|4|6b5f76f812df2b84f2ed9ee5a557ca1bf98710df|1643760000000|1646352000000|1648940400000|app/components/gh-post-settings-menu/visibility-segment-select.hbs remove|ember-template-lint|no-duplicate-attributes|9|4|9|4|6b5f76f812df2b84f2ed9ee5a557ca1bf98710df|1643760000000|1646352000000|1648940400000|app/components/gh-post-settings-menu/visibility-segment-select.hbs
add|ember-template-lint|no-duplicate-landmark-elements|131|24|131|24|9eb7d301f1f50334e793aafab8f6b9e8905125ab|1645142400000|1647734400000|1650322800000|app/components/modal-product.hbs add|ember-template-lint|no-duplicate-landmark-elements|131|24|131|24|9eb7d301f1f50334e793aafab8f6b9e8905125ab|1645142400000|1647734400000|1650322800000|app/components/modal-product.hbs
add|ember-template-lint|no-nested-landmark|131|24|131|24|9eb7d301f1f50334e793aafab8f6b9e8905125ab|1645142400000|1647734400000|1650322800000|app/components/modal-product.hbs add|ember-template-lint|no-nested-landmark|131|24|131|24|9eb7d301f1f50334e793aafab8f6b9e8905125ab|1645142400000|1647734400000|1650322800000|app/components/modal-product.hbs
remove|ember-template-lint|table-groups|5|8|5|8|9b53737f259340d2970119c70be1af3a83081cab|1643760000000|1646352000000|1648940400000|app/components/gh-portal-links.hbs

View File

@ -3,321 +3,325 @@
<h2>Links</h2> <h2>Links</h2>
<p>Use these {{if this.isLink "links" "data attributes"}} in your theme to show pages of Portal.</p> <p>Use these {{if this.isLink "links" "data attributes"}} in your theme to show pages of Portal.</p>
<table class="gh-portal-links-table"> <table class="gh-portal-links-table">
<tr class="header"> <thead>
<td><h4>Page</h4></td> <tr class="header">
<td> <td><h4>Page</h4></td>
<div class='toggle-header'> <td>
<h4>{{this.sectionHeaderLabel}}</h4> <div class='toggle-header'>
<h4 class='gh-portal-links-cell toggle' onclick={{action "toggleShowLinks"}}>{{this.toggleValue}}</h4> <h4>{{this.sectionHeaderLabel}}</h4>
</div> <h4 class='gh-portal-links-cell toggle' onclick={{action "toggleShowLinks"}}>{{this.toggleValue}}</h4>
</td>
</tr>
<tr>
<td colspan="2"><hr class="gh-portal-links-group-divider first" /></td>
</tr>
<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> </div>
<button type="button" {{action (perform this.copyStaticLink '')}} class="gh-portal-setting-copy"> </td>
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice ""))}} </tr>
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied <tr>
{{else}} <td colspan="2"><hr class="gh-portal-links-group-divider first" /></td>
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span> </tr>
{{/if}} </thead>
</button> <tbody>
</div> <tr>
</td> <td class="pagename">Default</td>
</tr> <td class='page-url'>
<tr> <div class="gh-portal-page-url-container">
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td> <div class="page-url-label">
</tr> {{#if this.isLink}}
<tr> <span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal</span>
<td class='pagename'>Sign in</td> {{else}}
<td class='page-url'> data-portal
<div class="gh-portal-page-url-container"> {{/if}}
<div class="page-url-label"> </div>
{{#if this.isLink}} <button type="button" {{action (perform this.copyStaticLink '')}} class="gh-portal-setting-copy">
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signin</span> {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice ""))}}
{{else}} {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
data-portal="signin" {{else}}
{{/if}} <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
{{/if}}
</button>
</div> </div>
<button type="button" {{action (perform this.copyStaticLink "signin")}} class="gh-portal-setting-copy"> </td>
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signin"))}} </tr>
{{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>
<button type="button" {{action (perform this.copyStaticLink "signup")}} class="gh-portal-setting-copy">
{{#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> <tr>
<td colspan="2"><hr class="gh-portal-links-group-divider" /></td> <td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
</tr> </tr>
<tr> <tr>
<td class='pagename strong'>Tier</td> <td class='pagename'>Sign in</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'> <td class='page-url'>
<div class="gh-portal-page-url-container"> <div class="gh-portal-page-url-container">
<div class="page-url-label"> <div class="page-url-label">
<div class="page-url-label-inner">
{{#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>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#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>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
{{else}}
data-portal="signup/free"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/monthly</span>
{{else}}
data-portal="signup/monthly"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/yearly</span>
{{else}}
data-portal="signup/yearly"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
{{else}}
data-portal="signup/free"
{{/if}}
</div>
</div>
<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>
<tr>
<td class='pagename'>Account</td>
<td class='page-url'>
<div class="gh-portal-page-url-container">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}} {{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account</span> <span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signin</span>
{{else}} {{else}}
data-portal="account" data-portal="signin"
{{/if}} {{/if}}
</div> </div>
<button type="button" {{action (perform this.copyStaticLink "signin")}} class="gh-portal-setting-copy">
{{#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> </div>
<button type="button" {{action (perform this.copyStaticLink "account")}} class="gh-portal-setting-copy"> </td>
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account"))}} </tr>
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied <tr>
{{else}} <td class='pagename'>Sign up</td>
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span> <td class='page-url'>
{{/if}} <div class="gh-portal-page-url-container">
</button> <div class="page-url-label">
</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">
<div class="page-url-label-inner">
{{#if this.isLink}} {{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/plans</span> <span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup</span>
{{else}} {{else}}
data-portal="account/plans" data-portal="signup"
{{/if}} {{/if}}
</div> </div>
</div> <button type="button" {{action (perform this.copyStaticLink "signup")}} class="gh-portal-setting-copy">
<button type="button" {{action (perform this.copyStaticLink "account/plans")}} class="gh-portal-setting-copy"> {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup"))}}
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/plans"))}} {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
{{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">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/profile</span>
{{else}} {{else}}
data-portal="account/profile" <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
{{/if}} {{/if}}
</div> </button>
</div> </div>
<button type="button" {{action (perform this.copyStaticLink "account/profile")}} class="gh-portal-setting-copy"> </td>
{{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "account/profile"))}} </tr>
{{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied {{#if (and (feature "multipleProducts") (gt this.products.length 1))}}
{{else}} <tr>
<span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span> <td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
{{/if}} </tr>
</button> <tr>
</div> <td class='pagename strong'>Tier</td>
</td> <td class='page-url'>
</tr> <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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#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>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#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>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
{{else}}
data-portal="signup/free"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/monthly</span>
{{else}}
data-portal="signup/monthly"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/yearly</span>
{{else}}
data-portal="signup/yearly"
{{/if}}
</div>
</div>
<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">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/signup/free</span>
{{else}}
data-portal="signup/free"
{{/if}}
</div>
</div>
<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>
<tr>
<td class='pagename'>Account</td>
<td class='page-url'>
<div class="gh-portal-page-url-container">
<div class="page-url-label">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account</span>
{{else}}
data-portal="account"
{{/if}}
</div>
</div>
<button type="button" {{action (perform this.copyStaticLink "account")}} class="gh-portal-setting-copy">
{{#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">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/plans</span>
{{else}}
data-portal="account/plans"
{{/if}}
</div>
</div>
<button type="button" {{action (perform this.copyStaticLink "account/plans")}} class="gh-portal-setting-copy">
{{#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">
<div class="page-url-label-inner">
{{#if this.isLink}}
<span class="page-url-disabled">{{this.siteUrl}}/</span><span>#/portal/account/profile</span>
{{else}}
data-portal="account/profile"
{{/if}}
</div>
</div>
<button type="button" {{action (perform this.copyStaticLink "account/profile")}} class="gh-portal-setting-copy">
{{#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> </table>
</div> </div>
</div> </div>