diff --git a/assets/scripts.js b/assets/scripts.js index d6afaf5..b1df458 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -159,9 +159,19 @@ async function verifyProofs(opts) { } // Generate feedback + feedback += `

`; for (var i = 0; i < verifications.length; i++) { - feedback += `${verifications[i].type}: ${verifications[i].display}: ${verifications[i].isVerified}
`; + // feedback += `${verifications[i].type}: ${verifications[i].display}: ${verifications[i].isVerified}
`; + feedback += `${verifications[i].type}: `; + feedback += `${verifications[i].display}`; + if (verifications[i].isVerified) { + feedback += `verified ✔`; + } else { + feedback += `proof`; + } + feedback += `
`; } + feedback += `

`; // Display feedback elRes.innerHTML = feedback;