diff --git a/backend/clubs/models.py b/backend/clubs/models.py index d564a3189..421d07fd9 100644 --- a/backend/clubs/models.py +++ b/backend/clubs/models.py @@ -1164,7 +1164,7 @@ def send_request(self, request=None): ) send_mail_helper( - name="ownershiprequest", + name="ownership_request", subject=f"Ownership Request from {full_name} for {club_name}", emails=owner_emails, context=context, diff --git a/backend/templates/emails/ownershiprequest.html b/backend/templates/emails/ownership_request.html similarity index 68% rename from backend/templates/emails/ownershiprequest.html rename to backend/templates/emails/ownership_request.html index d1b7cc6a6..9c07d005c 100644 --- a/backend/templates/emails/ownershiprequest.html +++ b/backend/templates/emails/ownership_request.html @@ -9,8 +9,8 @@ {% extends 'emails/base.html' %} {% block content %} -

Ownership Request from {{ full_name }} for {{ club_name }}

-

{{ full_name }} sent an ownership request to join {{ club_name }} through the Penn +

Request for ownership for {{ club_name }} from {{ full_name }}

+

{{ full_name }} has submitted a request for ownership of {{ club_name }} through the Penn Clubs website. To approve this request, use the button below to navigate to the Penn Clubs website.

Approve Request