Skip to content

Commit dbee95e

Browse files
committed
Update progress page
1 parent e288d07 commit dbee95e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

readthedocs/donate/templates/donate/list.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77

88
{% block content %}
99

10+
{% include 'donate/progress.html' with evergreen=True %}
11+
1012
<a name="totals"></a>
1113
<h2>Fundraising Status</h2>
1214

15+
1316
<div>
1417
<ul>
1518
<li><b>${{ donate_amount }}</b> contributed</li>

readthedocs/donate/templates/donate/progress.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,15 @@ <h2>Help Support Read the Docs</h2>
5353
<div class="donate-stats-sm">
5454
<ul>
5555
<h2>Status</h2>
56-
{% if not done %}
56+
{% if not done and not evergreen %}
5757
<li>
5858
<div class="donate-progress">
5959
<div class="donate-progress-inner" style="width: {% if donate_percent > 100 %}100{% else %}{{ donate_percent }}{% endif %}%;">
6060
</div>
6161
</div>
6262
</li>
6363
{% endif %}
64-
<li><b>{{ donate_percent }}%</b> funded</li>
65-
<li><b>${{ donate_amount }}</b> contributed to $24,000 goal</li>
64+
<li><b>${{ donate_amount }}</b> contributed</li>
6665
<li><b>${{ donate_avg }}</b> average contribution</li>
6766
<li><b>{{ donate_count }}</b> <a href="{% url 'donate' %}#supporters">Supporters</a></li>
6867
</ul>
@@ -83,9 +82,6 @@ <h2>Status</h2>
8382
<button>{% trans 'Donate Now' %}</button>
8483
</form>
8584
{% endif %}
86-
{% if not done %}
87-
<em>Companies that contribute $400 or more will get a <a href="http://docs.readthedocs.io/en/latest/support.html#named-support-contact">Named Support Contact</a> or <a href="http://docs.readthedocs.io/en/latest/sponsors.html#footer-logo-promotion">Footer Logo Promotion</a>. Both offers good for 3 month duration of the Sustainability project.</em>
88-
{% endif %}
8985
</div>
9086

9187
{% endif %}

0 commit comments

Comments
 (0)