<% if (softwareLevel == "GOLD") { %>
Software: The conformance level of the software version for this device is GOLD.
<% } else if (softwareLevel == "SILVER") { %>
Software: The conformance level of the software version for this device is SILVER.
<% } else if (softwareLevel == "BRONZE") { %>
Software: The conformance level of the software version for this device is BRONZE.
<% } else { %>
Software: The software version <%- softwareVersion %> does not conform to the software rules.
<% } %> <% if (compliant) { %>
Configuration: The device is compliant with all policies.
<% } else { %>
Configuration: The device is not in compliance with some policies.
<% } %>
Policy Rule Result Details Test date/time
<% if (endOfSale) { %>
Hardware: End of sale since <%- $.formatDateTime('dd/mm/y', new Date(eosDate)) %> (module <%- eosModule.partNumber %>)
<% } else { %>
Hardware: Not end of sale yet<% if (typeof eosDate === "number") { %>, planned on <%- $.formatDateTime('dd/mm/y', new Date(eosDate)) %> (module <%- eosModule.partNumber %>)<% } %>
<% }%> <% if (endOfLife) { %>
Hardware: End of life since <%- $.formatDateTime('dd/mm/y', new Date(eolDate)) %> (module <%- eolModule.partNumber %>)
<% } else { %>
Hardware: Not end of life yet<% if (typeof eolDate === "number") { %>, planned on <%- $.formatDateTime('dd/mm/y', new Date(eolDate)) %> (module <%- eolModule.partNumber %>)<% } %>
<% }%>