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

Failed to ignore revisions in .git-blame-ignore-revs.

16 lines
537 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|}}
<a href class="selectable-avatar" {{action "remove" image}}>
2018-07-18 06:57:43 -04:00
{{bound-avatar-template image "huge"}}
</a>
2018-07-18 06:57:43 -04:00
{{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>