mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
Added placeholder to impersonate URL
no issues. - adds a placeholder value for impersonate URL field to avoid empty field while loading - disables "Copy link" button until the actual URL is not loaded
This commit is contained in:
parent
49b28d4387
commit
49214faf07
@ -25,13 +25,24 @@
|
||||
@name="member-signin-url"
|
||||
@disabled={{true}}
|
||||
@value={{readonly signinUrl}}
|
||||
@placeholder="{{this.config.blogUrl}}/members/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
/>
|
||||
<GhTaskButton
|
||||
{{#if signinUrl}}
|
||||
<GhTaskButton
|
||||
@autoReset={{true}}
|
||||
@buttonText="Copy link"
|
||||
@task={{this.copySigninUrl}}
|
||||
@successText="Link copied"
|
||||
@class="gh-btn gh-btn-blue gh-btn-icon" />
|
||||
{{else}}
|
||||
<GhTaskButton
|
||||
@autoReset={{true}}
|
||||
@buttonText="Copy link"
|
||||
@task={{this.copySigninUrl}}
|
||||
@successText="Link copied"
|
||||
@disabled="true"
|
||||
@class="gh-btn gh-btn-blue gh-btn-icon" />
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user