Skip to content

Commit 39f7af2

Browse files
authored
Merge pull request #873 from amakarudze/partners
Hardcode year in renewal subject, add line break before signature
2 parents 0290c7a + 3ba5b2f commit 39f7af2

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

β€Žglobalpartners/emails.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99

1010
def send_sponsor_email(contact_person, contact_email, template, subject, errors=None):
11-
1211
content = render_to_string(template, {"contact_person": contact_person, "errors": errors})
1312

1413
send_email(content, subject, [contact_email])
@@ -26,7 +25,7 @@ def send_renewal_email(contact_person, contact_email):
2625
"""Sends annual sponsors email asking if they are interested in supporting
2726
our work in the new year.
2827
"""
29-
subject = f"Will you be supporting us again in {year}?"
28+
subject = "Will you be supporting us again in 2023?"
3029
template = "emails/globalpartners/renewal_email.html"
3130
send_sponsor_email(contact_person, contact_email, template, subject)
3231

β€Žtemplates/emails/globalpartners/promotional_material.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{% endif %}
1818

1919
<p>Once again, thank you for supporting our work.</p>
20-
20+
<br>
2121
<p>Sparkles, cupcakes and high-fives, πŸŽ‰πŸŽŠπŸŽ‰βœ¨πŸ°πŸ‘‹</p>
2222

2323
<p>Anna Makarudze <br>

β€Žtemplates/emails/globalpartners/prospective_sponsor.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if you would like to get on a call for more details.</p>
1515

1616
<p>Looking forward to hearing from you soon.</p>
17-
17+
<br>
1818
<p>Sparkles, cupcakes and high-fives, πŸŽ‰πŸŽŠπŸŽ‰βœ¨πŸ°πŸ‘‹</p>
1919

2020
<p>

β€Žtemplates/emails/globalpartners/renewal_email.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<html>
22
<p>Hello {{ contact_person.split.0 }},</p>
33

4-
<p>Happy New Year!</p>
5-
64
<p>We would like to thank you for your past support, we are so grateful that you chose
75
to help Django Girls on our mission to inspire women to fall in love with programming.</p>
86

@@ -20,7 +18,7 @@
2018
by introducing a part-time paid Communications Officer role to help promote our work.</p>
2119

2220
<p>Thank you once again for supporting our work. We look forward to working with you again in 2023.</p>
23-
21+
<br>
2422
<p>Sparkles, cupcakes and high-fives, πŸŽ‰πŸŽŠπŸŽ‰βœ¨πŸ°πŸ‘‹</p>
2523

2624
<p>Anna Makarudze <br>

β€Žtemplates/emails/globalpartners/thank_you.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
in the new year. </p>
66

77
<p>Happy holidays from all of us at Django Girls!</p>
8-
8+
<br>
99
<p>Sparkles, cupcakes and high-fives, πŸŽ‰πŸŽŠπŸŽ‰βœ¨πŸ°πŸ‘‹</p>
1010

1111
<p>Anna Makarudze <br>

0 commit comments

Comments
Β (0)