|
11 | 11 | {% if request.user.gold.exists or request.user.goldonce.exists %}
|
12 | 12 | <p>
|
13 | 13 | {% 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! |
16 | 15 | {% endblocktrans%}
|
17 | 16 | </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 %} |
26 | 18 |
|
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> |
35 | 26 |
|
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> |
43 | 35 |
|
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> |
50 | 49 | {% endblock %}
|
0 commit comments