diff --git a/public/locales/en/common.yml b/public/locales/en/common.yml index 76e72fa..54776ad 100644 --- a/public/locales/en/common.yml +++ b/public/locales/en/common.yml @@ -1,5 +1,5 @@ title: Vaccination Receipt to Wallet -subtitle: This tool converts your vaccination receipt from Ontario Ministry of Health to an Apple Wallet pass for easy access in the interim. +subtitle: This utility (created by volunteers) converts your vaccination receipt from Ontario Ministry of Health to an Apple Wallet pass for easy access in the interim. subtitle2: Once Ontario's official QR code is released on Oct 22, you will be able to update your Apple Wallet pass by visiting this site again. update1Date: Sep 23 Updates update1: Thanks so much for all the encouragements and suggestions to make this better. We plan to keep enhancing this to help more Canadians. Stay tuned! diff --git a/src/photo.ts b/src/photo.ts index 4982efe..2edc3fa 100644 --- a/src/photo.ts +++ b/src/photo.ts @@ -89,11 +89,6 @@ export class Photo { const body = document.getElementById('pass-image'); body.hidden = false; - if (payload.receipt.numDoses > 1) - body.style.backgroundColor = 'green'; - else - body.style.backgroundColor = 'orangered'; - const name = payload.receipt.name; const dateOfBirth = payload.receipt.dateOfBirth; const vaccineName = payload.receipt.vaccineName; @@ -104,14 +99,12 @@ export class Photo { if (vaccineName.includes('MODERNA')) vaccineNameProper = 'Moderna (SpikeVax)' - // vaccineNameProper = 'Pfizer (Comirnaty)' if (vaccineName.includes('ASTRAZENECA')) vaccineNameProper = 'AstraZeneca (Vaxzevria)' let doseVaccine = "#" + String(payload.receipt.numDoses) + ": " + vaccineNameProper; - document.getElementById('vaccineName').innerText = doseVaccine; document.getElementById('vaccinationDate').innerText = payload.receipt.vaccinationDate; document.getElementById('organization').innerText = payload.receipt.organization;