From f36d1f9a1f3bca077db274d50838d1a9af8c391b Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 18 Oct 2024 08:25:46 -0400 Subject: [PATCH] edit ownership_request.html template --- backend/clubs/models.py | 2 +- .../emails/{ownershiprequest.html => ownership_request.html} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename backend/templates/emails/{ownershiprequest.html => ownership_request.html} (68%) 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