Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Commit

Permalink
added CAD after $$ (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisa-sa-li authored Jan 23, 2021
1 parent bdd9421 commit bcd1613
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions hackathon_site/event/jinja2/event/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h3 class="center">FAQ</h3>
</div>
<div class="collapsible-body">
<span>
Unfortunately, our team will not be able to ship out any hardware for MakeUofT 2021. However, the first 200 people to apply and be accepted will be able to get a $25 reimbursement after submitting a demo of their project! If you submit as a team, each eligible team member will receive a separate reimbursement.
Unfortunately, our team will not be able to ship out any hardware for MakeUofT 2021. However, the first 200 people to apply and be accepted will be able to get a $25 CAD reimbursement after submitting a demo of their project! If you submit as a team, each eligible team member will receive a separate reimbursement.
</span>
</div>
</li>
Expand All @@ -204,7 +204,7 @@ <h3 class="center">FAQ</h3>
</div>
<div class="collapsible-body">
<span>
This year, 1st, 2nd, and 3rd place teams overall will receive cash prizes of $2500, $1500, and $750 respectively, while the winning teams for our design challenges will receive $750.
This year, 1st, 2nd, and 3rd place teams overall will receive cash prizes of $2500, $1500, and $750 CAD respectively, while the winning teams for our design challenges will receive $750 CAD.
</span>
</div>
</li>
Expand Down Expand Up @@ -239,7 +239,7 @@ <h3 class="center">FAQ</h3>
</div>
<div class="collapsible-body">
<span>
The first 200 people to apply will be able to get a $25 reimbursement after submitting a demo of their project, as an e-transfer to the email used during their application. We'll let you know in your acceptance email if you were one of the first 200 people to apply.
The first 200 people to apply will be able to get a $25 CAD reimbursement after submitting a demo of their project, as an e-transfer to the email used during their application. We'll let you know in your acceptance email if you were one of the first 200 people to apply.
</span>
</div>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p>The {{ hackathon_name }} team has reviewed your application, and we’re excited to welcome you to {{ hackathon_name }}!</p>

{% if reimbursement_eligible %}
<p>Because you were one of the first 200 people to apply, as long as you submit your project you will be eligible for a $25 reimbursement at the end of the event. Once your project has been submitted, you will receive an e-transfer from us to this email address, {{ user.email }}. If you submit with teammates, and any of them also received this message, you will each be separately eligible for the reimbursement.</p>
<p>Because you were one of the first 200 people to apply, as long as you submit your project you will be eligible for a $25 CAD reimbursement at the end of the event. Once your project has been submitted, you will receive an e-transfer from us to this email address, {{ user.email }}. If you submit with teammates, and any of them also received this message, you will each be separately eligible for the reimbursement.</p>

{% endif %}
<p>Read our <a href="{{ participant_package_link }}">participant package</a> for all the info regarding the event, and join our <a href="{{ chat_room_link }}">{{ chat_room_name }}</a>. Stay tuned for more updates regarding detailed event logistics, and we hope to see you soon! If you have questions, read the FAQ on your <a href="{{ dashboard_url }}">dashboard</a> or feel free to contact us.</p>
Expand Down
12 changes: 9 additions & 3 deletions hackathon_site/review/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,17 +381,23 @@ def test_first_200_applied_accepted_get_reimbursement_message(self):
# First 50 should have the reimbursement message
for i in range(50):
self.assertIn(
"you will be eligible for a $25 reimbursement", mail.outbox[i].body, i
"you will be eligible for a $25 CAD reimbursement",
mail.outbox[i].body,
i,
)

# Next 100 (applications 101-200) should have the reimbursement message
for i in range(50, 150):
self.assertIn(
"you will be eligible for a $25 reimbursement", mail.outbox[i].body, i
"you will be eligible for a $25 CAD reimbursement",
mail.outbox[i].body,
i,
)

# Next 4 (applications 201-204) should not have the message
for i in range(150, 154):
self.assertNotIn(
"you will be eligible for a $25 reimbursement", mail.outbox[i].body, i
"you will be eligible for a $25 CAD reimbursement",
mail.outbox[i].body,
i,
)

0 comments on commit bcd1613

Please sign in to comment.