<%- name %> Images

<% if (error) { %>
<%- error %>
<% } else { %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% } %> <% if (showformat) { %> <% } %> <% _.each(images, function(image, imageindex) { %> <% if (! (image.candelete || image.inactive)) { return; } %> <% if (showproject) { %> <% if (_.has(image, "pid_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showuser) { %> <% if (_.has(image, "creator_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% _.each(image.versions, function(version, versionindex) { %> <% if (! version.candelete) { return; } %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% if (_.has(version, "updater_uid")) { %> <% if (_.has(version, "updater_idx")) { %> <% } else { %> <% } %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% }); %> <% }); %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% } %> <% if (showformat) { %> <% } %> <% _.each(images, function(image, imageindex) { %> <% if (image.candelete) { return; } %> <% var skip = 1; for (var i = 0; i < image.versions.length; i++) { if (image.versions[i].using.length == 1) { skip = 0 } } if (skip) { return; } %> <% if (showproject) { %> <% if (_.has(image, "pid_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showuser) { %> <% if (_.has(image, "creator_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% _.each(image.versions, function(version, versionindex) { %> <% if (version.candelete) { return; } %> <% if (version.using.length != 1) { return; } %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% if (_.has(version, "updater_uid")) { %> <% if (_.has(version, "updater_idx")) { %> <% } else { %> <% } %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% }); %> <% }); %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% } %> <% if (showformat) { %> <% } %> <% _.each(images, function(image, imageindex) { %> <% if (image.candelete) { return; } %> <% var skip = 1; for (var i = 0; i < image.versions.length; i++) { if (image.versions[i].using.length > 1) { skip = 0 } } if (skip) { return; } %> <% if (showproject) { %> <% if (_.has(image, "pid_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showuser) { %> <% if (_.has(image, "creator_idx")) { %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% _.each(image.versions, function(version, versionindex) { %> <% if (version.candelete) { return; } %> <% if (version.using.length <= 1) { return; } %> <% if (showproject) { %> <% } %> <% if (showuser) { %> <% if (_.has(version, "updater_uid")) { %> <% if (_.has(version, "updater_idx")) { %> <% } else { %> <% } %> <% } else { %> <% } %> <% } %> <% if (showformat) { %> <% } %> <% }); %> <% }); %> <% } %>