2016-02-26 16:25:47 +03:00
|
|
|
{{#if image}}
|
2016-09-24 12:10:08 +03:00
|
|
|
<div class="gh-image-uploader -with-image">
|
2016-02-26 16:25:47 +03:00
|
|
|
<div><img src={{image}}></div>
|
2017-04-14 19:22:14 +03:00
|
|
|
<a class="image-cancel" title="Delete" {{action "remove"}}>
|
2018-03-19 12:57:31 +03:00
|
|
|
{{svg-jar "trash"}}
|
2016-02-26 16:25:47 +03:00
|
|
|
<span class="hidden">Delete</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
{{gh-image-uploader
|
|
|
|
text=text
|
2016-07-24 12:19:49 +03:00
|
|
|
altText=altText
|
2017-08-02 10:05:59 +03:00
|
|
|
allowUnsplash=allowUnsplash
|
2016-02-26 16:25:47 +03:00
|
|
|
update=(action 'update')
|
|
|
|
uploadStarted=(action 'uploadStarted')
|
|
|
|
uploadFinished=(action 'uploadFinished')
|
2016-07-24 12:19:49 +03:00
|
|
|
}}
|
2016-02-26 16:25:47 +03:00
|
|
|
{{/if}}
|