Skip to content

Commit

Permalink
Update the content of the email
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptakS committed May 24, 2018
1 parent 145d2c4 commit 7ea2e8f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
7 changes: 3 additions & 4 deletions app/retail/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from django.contrib.admin.views.decorators import staff_member_required
from django.http import HttpResponse
from django.shortcuts import redirect
from django.urls import reverse
from django.template.loader import render_to_string
from django.template.response import TemplateResponse
from django.utils import timezone
Expand Down Expand Up @@ -301,9 +300,9 @@ def render_bounty_startwork_expired(to_email, bounty, interest, time_delta_days)
def render_gdpr_update(to_email):
params = {
'subscriber': get_or_save_email_subscriber(to_email, 'internal'),
'terms_of_use_link': reverse('terms'),
'privacy_policy_link': reverse('privacy'),
'cookie_policy_link': reverse('cookie'),
'terms_of_use_link': 'https://gitcoin.co/legal/terms',
'privacy_policy_link': 'https://gitcoin.co/legal/privacy',
'cookie_policy_link': 'https://gitcoin.co/legal/cookie',
}

subject = "Gitcoin: Updated Terms & Policies"
Expand Down
2 changes: 1 addition & 1 deletion app/retail/templates/emails/gdpr_update.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ <h1>{% trans "Gitcoin: Updated Terms & Policies" %}</h1>
{% trans "As always, the entire Gitcoin team works every day to make Gitcoin a safe and trustworthy place to grow open source. We invite you to learn more about our outlined updates to our Policies and Terms of Use: " %}
</p>
<ul>
<li><a href="{{ terms_of_use_link }}">{% trans "Our updated Terms of Use " %}</a></li>
<li><a href="{{ privacy_policy_link }}">{% trans "Our updated Privacy Policy " %}</a></li>
<li><a href="{{ cookie_policy_link }}">{% trans "Our updated Cookie Policy " %}</a></li>
<li><a href="{{ terms_of_use_link }}">{% trans "Our updated Terms of Use " %}</a></li>
</ul>

<p>
Expand Down
12 changes: 6 additions & 6 deletions app/retail/templates/emails/gdpr_update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ We recently reviewed our Privacy Policy to comply with requirements of General D

As always, the entire Gitcoin team works every day to make Gitcoin a safe and trustworthy place to grow open source. We invite you to learn more about our outlined updates to our Policies and Terms of Use:

1) Our updated Terms of Use [1]
2) Our updated Privacy Policy [2]
3) Our updated Cookie Policy [3]
1) Our updated Privacy Policy [1]
2) Our updated Cookie Policy [2]
3) Our updated Terms of Use [3]

We’ll continue to keep you updated on our data privacy policies on the path towards a more open, transparent web. Thanks for using Gitcoin, and please let us know if you have any questions or feedback.

[1] {{ terms_of_use_link }}
[2] {{ privacy_policy_link }}
[3] {{ cookie_policy_link }}
[1] {{ privacy_policy_link }}
[2] {{ cookie_policy_link }}
[3] {{ terms_of_use_link }}

Warmly,
Gitcoin Core

0 comments on commit 7ea2e8f

Please sign in to comment.