<% if (!stepExecutions) { %> <% } else { %> <% _.each(stepExecutions, function (stepExecution, stepIndex) { %> <% _.each(stepExecution.warnings, function (warning, warningIndex) { %> <% }); %> <% _.each(stepExecution.failures, function (failure) { %> <% }); %> <% }); %> <% _.each(failures, function (failure) { %> <% }); %> <% } %>
<%- transAndUpperCase('pim_import_export.form.job_execution.summary.header.step')%> <%- transAndUpperCase('pim_common.status')%> <%- transAndUpperCase('pim_import_export.form.job_execution.summary.header.summary')%> <%- transAndUpperCase('pim_import_export.form.job_execution.summary.header.start')%> <%- transAndUpperCase('pim_import_export.form.job_execution.summary.header.end')%>
<%- __('pim_import_export.form.job_execution.summary.fetching')%>
<%- translateStepExecutionLabel(stepExecution) %> <%- stepExecution.status %> <% if (_.size(stepExecution.summary) > 0) { %> <% _.each(stepExecution.summary, function (value, key) { %> <% }); %>
<%- key %> <%- value %>
<% } %>
<%- stepExecution.startedAt %> <%- stepExecution.endedAt %>
<%- __('pim_import_export.form.job_execution.summary.warning')%>
    <% _.each(warning.reason.split("\n"), function(warningItem) { %> <% if (warningItem) { %>
  • <%- warningItem %>
  • <% } %> <% }) %>
<%- warning.expanded ? __('job_execution.summary.hide_item') : __('job_execution.summary.display_item')%> <% _.each(warning.item, function (value, key) { %> <% }); %>
<%- key %> <% if (typeof value === 'object') { %> <%- JSON.stringify(value) %> <% } else { %> <%- value %> <% } %>
<% if (failure.label) { %> <%- failure.label.toUpperCase() %> <%- failure %> <% } else { %> <%- failure %> <% } %>
<%- status.toUpperCase() %> <%- failure %>