feat: add sponsor-outreach MJML email template (#320) #326
No reviewers
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!326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "320-mjml-sponsor-outreach-template"
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?
Summary
Adds an MJML source template and compiled HTML for sponsor outreach emails. Matches the existing Westside brand language (dark theme, red left-border cards, red accent bar, headline underline, footer red top-border).
Changes
email-templates/src/sponsor-outreach.mjml— MJML source with Westside brand stylingemail-templates/compiled/sponsor-outreach.html— compiled HTML ready forload_email_template("sponsor-outreach", data)Template Placeholders
{{business_name}}{{pitch}}{{sender_name}}{{sender_phone}}{{sponsorship_tiers}}Test Plan
{{sponsorship_tiers}}as empty string to verify it renders invisiblyload_email_template("sponsor-outreach", data)substitution via existing email serviceReview Checklist
Related Notes
None.
Related
Closes #320
MJML source and compiled HTML for sponsor outreach emails. Uses Westside brand (red left-border cards, red accent, dark theme) with {{business_name}}, {{pitch}}, {{sender_name}}, {{sender_phone}}, and optional {{sponsorship_tiers}} placeholders. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>QA Review
Scope: MJML source + compiled HTML for sponsor-outreach email template.
Checklist
{{business_name}},{{pitch}},{{sender_name}},{{sender_phone}},{{sponsorship_tiers}}) present in compiled HTMLload_email_template()simple{{key}}replacement (no Jinja2)#d42026red,#0a0a0abody,#141414card bg,#f0f0f0text,#737373footer#d42026column + 536px content column) matches announcement.html.headline-underlinepattern.footer-borderpatternminio-api.tail5b443a.ts.net/assets/westside/branding/logo.jpeg){{sponsorship_tiers}}in plainmj-text-- renders as empty whitespace when replaced with empty stringFindings
No issues found. Template follows established brand patterns exactly.
VERDICT: APPROVED
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.