Skip to content

Commit 9020fca

Browse files
authored
Update gold templates to reflect ad-free reality (#180)
1 parent 192150f commit 9020fca

File tree

3 files changed

+30
-33
lines changed

3 files changed

+30
-33
lines changed

readthedocsext/theme/templates/gold/subscription_detail.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
<p>
4141
{% blocktrans trimmed %}
42-
Becoming a Gold member makes Read the Docs ad-free when you are logged-in.
4342
Gold members may also completely remove advertising for all visitors to their projects.
4443
{% endblocktrans %}
4544
</p>

readthedocsext/theme/templates/gold/subscription_form.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
<p>
4848
{% blocktrans trimmed %}
49-
Becoming a Gold member makes Read the Docs ad-free when you are logged-in.
5049
Gold members may also completely remove advertising for all visitors to their projects.
5150
{% endblocktrans %}
5251
</p>

readthedocsext/theme/templates/profiles/private/advertising_profile.html

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,39 @@
1111
{% if request.user.gold.exists or request.user.goldonce.exists %}
1212
<p>
1313
{% blocktrans trimmed %}
14-
Since you are a Gold member or Supporter, you are <strong>ad-free</strong> for as long as you are logged-in.
15-
Thank you for supporting Read the Docs.
14+
Thank you for supporting Read the Docs!
1615
{% endblocktrans%}
1716
</p>
18-
{% else %}
19-
<p>
20-
{% blocktrans trimmed %}
21-
Read the Docs is an open source project.
22-
In order to maintain service, we rely on both the
23-
support of our users, and from sponsor support.
24-
{% endblocktrans %}
25-
</p>
17+
{% endif %}
2618

27-
<p>
28-
{% blocktrans trimmed %}
29-
For more details on advertising on Read the Docs
30-
including the privacy protections we have in place for users
31-
and community advertising we run on behalf of the open source community,
32-
see <a href="https://docs.readthedocs.io/page/advertising/ethical-advertising.html">our documentation</a>.
33-
{% endblocktrans %}
34-
</p>
19+
<p>
20+
{% blocktrans trimmed %}
21+
Read the Docs is an open source project.
22+
In order to maintain service, we rely on both the
23+
support of our users, and from sponsor support.
24+
{% endblocktrans %}
25+
</p>
3526

36-
<p>
37-
{% url "gold_detail" as gold_detail %}
38-
{% url "donate" as donate_url %}
39-
{% blocktrans trimmed %}
40-
You can <strong>go ad-free</strong> by becoming a <a href="{{ gold_detail }}">Gold member</a> or <a href="{{ donate_url }}">Supporter</a> of Read the Docs</a>.
41-
{% endblocktrans %}
42-
</p>
27+
<p>
28+
{% blocktrans trimmed %}
29+
For more details on advertising on Read the Docs
30+
including the privacy protections we have in place for users
31+
and community advertising we run on behalf of the open source community,
32+
see <a href="https://docs.readthedocs.io/page/advertising/ethical-advertising.html">our documentation</a>.
33+
{% endblocktrans %}
34+
</p>
4335

44-
<form class="ui form" method="POST" action=".">
45-
{% csrf_token %}
46-
{{ form|crispy }}
47-
<input class="ui button" type="submit" name="submit" value="{% trans "Update advertisement preference" %}" id="submit"/>
48-
</form>
49-
{% endif %}
36+
<p>
37+
{% url "gold_detail" as gold_detail %}
38+
{% url "donate" as donate_url %}
39+
{% blocktrans trimmed %}
40+
You can <strong>go ad-free</strong> by becoming a <a href="{{ gold_detail }}">Gold member</a> or <a href="{{ donate_url }}">Supporter</a> of Read the Docs</a>.
41+
{% endblocktrans %}
42+
</p>
43+
44+
<form class="ui form" method="POST" action=".">
45+
{% csrf_token %}
46+
{{ form|crispy }}
47+
<input class="ui button" type="submit" name="submit" value="{% trans "Update advertisement preference" %}" id="submit"/>
48+
</form>
5049
{% endblock %}

0 commit comments

Comments
 (0)