Pass division-specific jersey image URLs in jersey reminder email #394
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#394
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
enhancement
Lineage
Part 2 of forgejo_admin/westside-emails#10
Repo
forgejo_admin/basketball-api
User Story
As a parent receiving a jersey reminder email, I see jersey images matching my child's division (Kings for boys, Queens for girls) so the email feels personalized and relevant.
Context
send_jersey_reminder_emailcurrently passes onlynameandjersey_urlto the template. The MJML template in westside-emails now supportsjersey_image_1andjersey_image_2placeholders for division-specific jersey photos.File Targets
src/basketball_api/services/email.py(~line 1282): update template data dict insend_jersey_reminder_emailAcceptance Criteria
Test Expectations
Constraints
Checklist
Related