Skip to content

Capitalise the salutation on the bonafide certificate - #1976

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:acad-certificate-salutation-caps
Sep 2, 2026
Merged

Capitalise the salutation on the bonafide certificate#1976
vikrantwiz02 merged 1 commit into
FusionIIIT:prod/acad-reactfrom
vikrantwiz02:acad-certificate-salutation-caps

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

The bonafide certificate addressed the student as Mr. or Ms. and the father as Mr., which reads inconsistently beside the rest of the document, where names and headings are set in capitals.

Both are now MR. and MS., for either gender and in every place a salutation appears:

  • the student's name in This is to certify that …
  • the student's name again in This certificate is being issued to …
  • the father's name in the parentage line, which was hardcoded separately from the student's salutation

D/o / S/o and the his / her pronoun are unchanged — they are not salutations and are conventionally mixed case. Any Mr. / Shri / Sri already stored on the father's name is still stripped before MR. is prepended, so a stored Mr. … does not render as MR. Mr. ….

Verified by rendering the certificate for a real student of each gender and reading the text back out of the PDF:

Student Salutations in the PDF Relation
Female MS. x2 (both sentences) + MR. x1 (father) D/o
Male MR. x3 (student twice, father once) S/o

No mixed-case Mr. or Ms. remains in either. The three affected assertions in test_bonafide_certificate.py are updated to match; note the backend test database cannot be built in this checkout — a RunSQL step in the migration history references course_registration before it is created, which is pre-existing — so the PDF render above is the verification. manage.py check clean, no migrations.

The certificate addressed students as Mr. or Ms. and the father as Mr.,
which reads inconsistently beside the rest of the document where names
and headings are set in capitals. Both forms are now MR. and MS., for
either gender and in every place they appear -- the student's name in
both sentences and the father's name in the parentage line.

D/o and S/o and the pronoun are left as they are; they are not
salutations.
@vikrantwiz02
vikrantwiz02 merged commit d619997 into FusionIIIT:prod/acad-react 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