<%- taskDescription %> <% if (status == "RUNNING") { %> <% } else if (status == "SCHEDULED") { %> <% } else if (status == "SUCCESS") { %> <% } else if (status == "FAILURE") { %> <% } else if (status == "CANCELLED") { %> <% } %> <%- status.toLowerCase().replace(/^(.)/, function(a, l) { return l.toUpperCase(); }) %> <% if (significantDate != 0) { %> <% if (significantDate !== 0) { %><%- (isNaN((new Date(significantDate)).getDate()) ? significantDate : $.formatDateTime('dd/mm/y hh:ii:ss', new Date(significantDate))) %><% } %> <% if (repeating) { %> <% } %> <% } %> <%- comments %> <% if (status == "SCHEDULED") { %> <% } %>