Skip to content

Commit

Permalink
Lots more wordsmithing.
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed Apr 22, 2024
1 parent e30aec0 commit 0de1096
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/vb/templates/email/code/body.dhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
Copy and paste it into Amazon's gift card redemption page to claim your gift.
{% include "email/base/p_close.html" %}
{% include "email/base/p.html" %}
And: be sure to tell your friends at {{ school.short_name }} to visit VoterBowl, too!
Tell three friends right now about VoterBowl.org so they can also win gift cards!
{% include "email/base/p_close.html" %}
{% endblock message %}
2 changes: 1 addition & 1 deletion server/vb/templates/email/code/body.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ Your ${{ gift_card.amount }} Amazon gift code is: {{ claim_code }}

Copy and paste it into Amazon's gift card redemption page to claim your gift.

And: be sure to tell your friends at {{ school.short_name }} to visit VoterBowl, too!
Tell three friends right now about VoterBowl.org so they can also win gift cards!
{% endblock message %}
5 changes: 4 additions & 1 deletion server/vb/templates/verify_email.dhtml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@
<span class="copied hidden" title="Copied!">{% include "clipboard_check.svg" %}</span>
</h2>
<p>
To use your gift card, copy the code above and paste it into <a href="https://www.amazon.com/gc/redeem" target="_blank">Amazon.com's redemption page</a>. That's all there is to it.
To use your gift card, copy the code above and paste it into <a href="https://www.amazon.com/gc/redeem" target="_blank">Amazon.com</a>.
</p>
<p>
Tell three friends right now so they can also win a gift card! Here's the link: <a href="{{ BASE_URL }}/{{ school.slug }}/">{{ BASE_URL }}/{{ school.slug }}/</a>
</p>
{% elif error %}
<p>
Expand Down
2 changes: 2 additions & 0 deletions server/vb/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging

from django import forms
from django.conf import settings
from django.core.exceptions import PermissionDenied
from django.http import HttpRequest, HttpResponse
from django.shortcuts import get_object_or_404, render
Expand Down Expand Up @@ -184,6 +185,7 @@ def validate_email(request: HttpRequest, slug: str, token: str) -> HttpResponse:
request,
"verify_email.dhtml",
{
"BASE_URL": settings.BASE_URL,
"school": school,
"student": link.student,
"gift_card": gift_card,
Expand Down

0 comments on commit 0de1096

Please sign in to comment.