mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added button for saving changes made to the link
refs https://github.com/TryGhost/Team/issues/2125
This commit is contained in:
parent
0e094b371b
commit
d1d3c1401f
1 changed files with 8 additions and 1 deletions
|
@ -23,7 +23,8 @@
|
|||
<div class="gh-links-list-url">
|
||||
{{#if (eq this.editingLink link.link.link_id)}}
|
||||
<div class="gh-links-list-input-container {{if (eq this.showError link.link.link_id) "error"}}">
|
||||
<input
|
||||
<div class="gh-input-group">
|
||||
<input
|
||||
aria-label="Link"
|
||||
type="text"
|
||||
class="gh-input"
|
||||
|
@ -36,6 +37,12 @@
|
|||
{{autofocus}}
|
||||
data-prevent-escape-close-modal="true"
|
||||
/>
|
||||
<GhTaskButton
|
||||
@buttonText="Update"
|
||||
@task={{this.setLink}}
|
||||
@successText="Link updated"
|
||||
@class="gh-btn gh-btn-green gh-btn-icon" />
|
||||
</div>
|
||||
<span class="gh-links-list-item-error">Please enter a valid link</span>
|
||||
</div>
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Reference in a new issue