mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
9771b51e1b
refs #5807, #5797 - add configurable debounce period - rename `hasEmail` to `displayGravatar` to better reflect it's purpose - add tests
21 lines
694 B
Handlebars
21 lines
694 B
Handlebars
<figure class="account-image js-file-upload">
|
|
{{#unless hasUploadedImage}}
|
|
<div class="placeholder-img" style={{defaultImage}}></div>
|
|
|
|
{{#if displayGravatar}}
|
|
<div id="account-image" class="gravatar-img" style={{imageBackground}}>
|
|
<span class="sr-only">User image</span>
|
|
</div>
|
|
{{/if}}
|
|
{{/unless}}
|
|
|
|
<div class="js-img-preview"></div>
|
|
|
|
<span class="edit-account-image js-img-dropzone">
|
|
<i class="icon-photos">
|
|
<span class="sr-only">Upload an image</span>
|
|
</i>
|
|
</span>
|
|
{{#if fileStorage}}<input type="file" class="file-uploader js-file-input" name="uploadimage">{{/if}}
|
|
</figure>
|