<% if (typeof eoxDate === "number" && eoxDate > 0) { %>Devices becoming <%- type %> on <%- formatDateTime(eoxDate, "day") %> <% } else { %>Devices without <%- type %> date<% } %>