(function (global, factory) { if (typeof define === "function" && define.amd) { define('ss.UploadField_downloadtemplate', [], factory); } else if (typeof exports !== "undefined") { factory(); } else { var mod = { exports: {} }; factory(); global.ssUploadField_downloadtemplate = mod.exports; } })(this, function () { 'use strict'; window.tmpl.cache['ss-uploadfield-downloadtemplate'] = tmpl('{% for (var i=0, files=o.files, l=files.length, file=files[0]; i' + '{% if (file.thumbnail_url) { %}' + '
' + '' + '
' + '{% } %}' + '
' + '{% if (!file.error && file.id) { %}' + '' + '{% } %}' + '{% if (!file.error && file.filename) { %}' + '' + '' + '' + '{% } %}' + '' + '{% if (file.error) { %}' + '
' + '
' + '
' + '{% } else { %}' + '
{% print(file.buttons, true); %}
' + '{% } %}' + '
' + '{% if (!file.error) { %}' + '
' + '{% } %}' + '' + '{% } %}'); });