<% _.each(d.tokens, function(token, tokenId){ %> <% if(token.getFileCount() === 0) { %>
  • <%-d.i18n("wfedit.output.nodocuments")%> <% _.each(token.getErrors(), function(error, errorId){ %> <%-d.i18n(error) %> <% }) %>
  • <% } else { %> <% _.each(token.getFiles(), function(document, versionId){ %>
  • <%- document %> <% _.each(token.getErrors(), function(error, errorId){ %> <%-d.i18n(error) %> <% }) %>
  • <% }) %> <% } %> <% }); %>