diff --git a/website/js/pages/clients.js b/website/js/pages/clients.js index e966c0e..0e3af66 100644 --- a/website/js/pages/clients.js +++ b/website/js/pages/clients.js @@ -335,7 +335,11 @@ function profileScoreBlockHTML(p, clientCode = '') { return `
${esc(p.name)}
-

Profile incomplete — not all member questionnaires are done.

+
+ Calculated + ${bandBadgeHTML(null, { incomplete: true })} +
+

Not all questionnaires in this profile are completed yet.

`; } const coachPending = p.pendingReview !== false && !p.coachBand; @@ -451,11 +455,7 @@ function clientQnBlockHTML(clientCode, q) { function profileDotsHTML(profiles, clientCode) { if (!profiles?.length) { - return ''; - } - const hasAny = profiles.some(p => p.calculatedBand || p.band); - if (!hasAny) { - return ``; + return 'No scoring profiles'; } return `
${profiles.map(p => profileScoreBlockHTML(p, clientCode)).join('')}
`; }