mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
ff69766442
closes TryGhost/Ghost#9506
19 lines
527 B
Handlebars
19 lines
527 B
Handlebars
{{#if image}}
|
|
<div class="gh-image-uploader -with-image">
|
|
<div><img src={{image}}></div>
|
|
<a class="image-cancel" title="Delete" {{action "remove"}}>
|
|
{{svg-jar "trash"}}
|
|
<span class="hidden">Delete</span>
|
|
</a>
|
|
</div>
|
|
{{else}}
|
|
{{gh-image-uploader
|
|
text=text
|
|
altText=altText
|
|
allowUnsplash=allowUnsplash
|
|
update=(action 'update')
|
|
uploadStarted=(action 'uploadStarted')
|
|
uploadFinished=(action 'uploadFinished')
|
|
}}
|
|
{{/if}}
|