Sha256: fc05d2c9dc7b0b910cbf616c7ce6f5df18a6841deae97a2ee08b7d2d3b9a8239

Contents?: true

Size: 906 Bytes

Versions: 22

Compression:

Stored size: 906 Bytes

Contents

<!-- The template to display files available for download -->
<script id="template-download-<%= field.klass %>" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
  <div id="asset_{%=file.id%}" class="attach_item template-download">
    <div class="buttons-panel">
      <a href="#" class="del_btn delete" data-type="DELETE" data-url="/uploader/attachments/{%=file.public_token%}?klass=<%= field.klass %>"></a>
    </div>
    <div class="thumbnail preview">
      <a href="{%=file.url%}" download="{%=file.filename%}">
        <img src="{%=file.thumb_url%}" title="{%=file.filename%}" rel="gallery" />
      </a>
    </div>
    <div class="infoHolder">
      <div class="fileName">
        <a href="{%=file.url%}" download="{%=file.filename%}">{%=file.filename%}</a>
      </div>
      <div class="fileWeight">{%=o.formatFileSize(file.size)%}</div>
    </div>
  </div>
{% } %}
</script>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
glebtv-rails-uploader-0.12.0 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.11.1 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.11.0 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.10.1 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.10.0 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.8 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.7 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.6 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.9.0 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.8.0 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.7.1 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.7.0 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.6.1 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.6.0 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.5 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.5.1 app/views/uploader/default/_download.html.erb
glebtv-rails-uploader-0.5.0 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.4 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.3 app/views/uploader/default/_download.html.erb
rails-uploader-0.2.2 app/views/uploader/default/_download.html.erb