Ship College Craft public site and point CI deploys at college_craft.
Deploy Beta / unit-tests (push) Successful in 21s
Deploy Beta / docker (push) Successful in 26s
Deploy Beta / deploy-beta (push) Successful in 6m25s

Replaces template branding with College Craft pages, assets, and copy, and
matches Gitea deploy workflows to the server-infra catalog name and master
branch so beta deploys actually run.

Closes #1
This commit is contained in:
2026-09-02 09:42:43 -05:00
parent b62357c8be
commit b46e192138
191 changed files with 2404 additions and 2041 deletions
+3 -2
View File
@@ -13,7 +13,7 @@ from public.email_branding import email_brand_context
logger = logging.getLogger(__name__)
def notify_admins_of_contact_form(lead: Lead) -> bool:
def notify_admins_of_contact_form(lead: Lead, *, subject_prefix: str | None = None) -> bool:
"""
Email CONTACT_EMAIL when someone submits the public contact form.
@@ -62,8 +62,9 @@ def notify_admins_of_contact_form(lead: Lead) -> bool:
text_content = get_template("emails/contact_email.txt").render(ctx)
html_content = get_template("emails/contact_email.html").render(ctx)
prefix = subject_prefix or "New contact form inquiry"
mail = EmailMultiAlternatives(
subject=f"New contact form inquiry from {name}",
subject=f"{prefix} from {name}",
body=text_content,
from_email=settings.DEFAULT_FROM_EMAIL,
to=[to_email],