Sha256: a01b394c9100cc5aaa5cc8e2c63e87e999de874aadbc7414073d847e54cc5935
Contents?: true
Size: 1008 Bytes
Versions: 2
Compression:
Stored size: 1008 Bytes
Contents
<script id="template-upload" type="text/x-tmpl"> {% for (var i=0, file; file=o.files[i]; i++) { %} <tr class="template-upload fade"> <td class="preview"><span class="fade"></span></td> <td class="name"><span>{%=file.name%}</span></td> {% if (file.error) { %} <td class="error"> <span class="label label-important"><%= t(:error) %></span> {%=locale.fileupload.errors[file.error] || file.error%} </td> {% } else if (o.files.valid) { %} <td class="size"> <span>{%=o.formatFileSize(file.size)%}</span> </td> {% } %} <td class="actions"> {% if (!o.options.autoUpload) { %} <span class="start"> <button class="button icon-upload">{%=locale.fileupload.start%}</button> </span> {% } %} {% if (!i) { %} <span class="cancel"> <button class="button icon-ban-circle">{%=locale.fileupload.cancel%}</button> </span> {% } %} </td> </tr> {% } %} </script>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
solidus_image_multi_upload-0.1.0 | app/views/spree/admin/images/_template_upload.html.erb |
spree_image_multi_upload-1.0.0 | app/views/spree/admin/images/_template_upload.html.erb |