Sha256: 644d05ea772fbc3577003fff5d7b492b9b052549e0ab037cbe3cab9084ea51c5
Contents?: true
Size: 963 Bytes
Versions: 1
Compression:
Stored size: 963 Bytes
Contents
<script id="template-download-<%= field.theme %>" type="text/x-tmpl"> {% for (var i=0, file; file=o.files[i]; i++) { %} {% if (typeof(file.error) == 'undefined') { %} <li class="ticket_file_item"> <span> <strong>{%=file.filename%}</strong> <a href="" rel="nofollow" class="delete delete_file" remote="true" data-type="DELETE" data-url="<%= destroy_ticket_attachment_path(params[:ticket_id] || params[:id]) %>"> </a> </span> </li> {% } else { %} <li id="asset_{%=file.id%}" class="asset_bad_format"> <div class="files_list_info"><span class="bad_format">Bad format.</span></div> <span class="bad_format"> <strong>Error on upload occured</strong> </span> </li> {% $('.file_format_error').show(); setTimeout( function() { $('#asset_' + file.id).remove(); $('.file_format_error').hide(); }, 5000); %} {% } %} {% } %} </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/views/uploader/ticket_files/_download.html.erb |