discourse/app/assets/javascripts/admin/templates/modal/admin-uploaded-image-list.hbs

16 lines
536 B
Handlebars
Raw Normal View History

2018-07-18 06:57:43 -04:00
{{#d-modal-body class="uploaded-image-list"}}
<div class="selectable-avatars">
{{#each images as |image|}}
<div class="selectable-avatar" {{action "remove" image}}>
{{bound-avatar-template image "huge"}}
</div>
{{else}}
<p>{{i18n "admin.site_settings.uploaded_image_list.empty"}}</p>
{{/each}}
</div>
{{/d-modal-body}}
<div class="modal-footer">
{{d-button action=(action "close") label="close"}}
{{images-uploader uploading=uploading done=(action "uploadDone") class="pull-right"}}
2018-07-18 06:57:43 -04:00
</div>