Skip to content

Capitalise the father's salutation in the certificate preview - #308

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:acad-mainfrom
vikrantwiz02:acad-certificate-preview-caps
Sep 2, 2026
Merged

vikrantwiz02 merged 1 commit into
FusionIIIT:acad-mainfrom
vikrantwiz02:acad-certificate-preview-caps

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

The bonafide certificate body is written twice — once in the backend for the PDF, once here for the on-screen preview. The salutation was capitalised in the PDF, but the preview kept a hardcoded Mr. for the father, so the preview read MR. <student> and Mr. <father> in the same sentence.

The student's salutation was already correct here because it comes from the API; only the father's was hardcoded in the markup. Now MR. in both.

Pairs with FusionIIIT/Fusion#1976 (the PDF wording) and #1977 (refreshing certificates already issued).

429 tests passing, eslint and prettier clean on the file, production build clean.

The certificate body is written twice, once for the PDF and once for the
on-screen preview, and only the PDF was capitalised. The preview still
addressed the father as Mr. while the student read MR. right beside it.
@vikrantwiz02
vikrantwiz02 merged commit 4f999a8 into FusionIIIT:acad-main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant