<% if (locals.emblemDesign && locals.emblemDesign==="hover" ) { %>
<% if (locals.audit && !locals.audit.isInProgress) { %> <% } else { %> <% } %>
<% } else { %>
<% } %>
<%= locals.name %> Logo <%= locals.name %>
<% if (locals.emblemDesign && locals.emblemDesign === "hover") { %> <% if (locals.audit && !locals.audit.isInProgress) { %> <% } else { %> <% } %> <% } else { %> <% } %>
<% if (locals.badges.length> 0) { %>
<% locals.badges.forEach(function(badge) { %> " alt="<%= badge.title %>" /> <% }) %>
<% } %>
<% if (locals.audit && !locals.audit.isInProgress) { %>
Latest Report
<%= audit.name || audit.id %>
Delivered Date
<%= new Date(audit.effectiveDate).toLocaleDateString() %>
Total Findings
<%= audit.issues.length %> (<%= audit.issues.filter(function(iss) { return iss.resolved; }).length %> Resolved)
<% if (locals.securityScore) { %>
Security Score
<% if (locals.securityScorePending) { %>
N/A
Pending
<% } else { %>
style="color: <%= locals.securityScoreColor %>" class="ctk-font-md ctk-font-semibold ctk-pb-0_5"> <%= Math.floor(locals.securityScore).toString() %>
style="color: <%= locals.securityScoreColor %>" class="ctk-font-sm ctk-font-semibold"> <%= (locals.securityScore % 1).toFixed(2).slice(1) %>
style="background-color: <%= locals.securityScoreColor %>" class="ctk-m-1 ctk-ml-1 ctk-rating-box ctk-h-2 ctk-w-3-5"> <%= locals.securityScoreRating %>
<% } %>
<% } %> <% } else { %>
Audit in Progress - <%= locals.onboardingPercentage %>%
<% if (locals.onboardingSteps.step> 0) { %> <% } else { %> <% } %>
<%= locals.onboardingSteps.stepsData[0].title %> <%= locals.onboardingSteps.stepsData[0].date ? ' ' + locals.onboardingSteps.stepsData[0].date : '' %>
<% if (locals.onboardingSteps.step> 0) { %>
<%= locals.onboardingSteps.stepsData[locals.onboardingSteps.step].title %> <%= locals.onboardingSteps.stepsData[locals.onboardingSteps.step].date ? ' ' + locals.onboardingSteps.stepsData[locals.onboardingSteps.step].date : '' %>
<% } %>
<% } %>