Push updated fundraising copy
parent
9fee8071ac
commit
38d38ddd10
|
@ -7,7 +7,25 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% include 'donate/progress.html' %}
|
||||
{% include 'donate/progress.html' with done=True %}
|
||||
|
||||
<a name="totals"></a>
|
||||
<h2>Fundraising Status</h2>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li><b>{{ donate_percent }}%</b> funded</li>
|
||||
<li><b>${{ donate_amount }}</b> contributed to $24,000 goal</li>
|
||||
<li><b>${{ donate_avg }}</b> average contribution</li>
|
||||
<li><b>{{ donate_count }}</b> <a href="{% url 'donate' %}#supporters">Supporters</a></li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
We will continue to keep donations open in case you missed your initial chance.
|
||||
That money will go to the next set of work after this 3 month trial.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<a name="about"></a>
|
||||
<h2>About Read the Docs</h2>
|
||||
|
|
|
@ -1,8 +1,32 @@
|
|||
{% load i18n %}
|
||||
|
||||
|
||||
<div class="donate-stats">
|
||||
{% if done %}
|
||||
|
||||
<h2>Thanks for supporting us!</h2>
|
||||
<p>
|
||||
Read the Docs has reached our 3 month sustainability goal.
|
||||
From May until July we will be devoting those contributions to making Read the Docs better supported.
|
||||
Thanks to all the folks who have contributed.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Plese read our <a href="https://blog.readthedocs.com/fundraising-wrapup/">blog post</a> outlining our plan going forward.
|
||||
All backers will recieve information about how to follow along with the work we've been doing.
|
||||
We're excited to get things rolling,
|
||||
so stay tuned!
|
||||
</p>
|
||||
|
||||
{% if read_more %}
|
||||
<p>
|
||||
You can find more information on our <b><a href="{% url 'donate' %}#about">{% trans 'Sustainability Page' %}</a></b>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
|
||||
<h2>Help Support Read the Docs</h2>
|
||||
<div class="donate-stats-lg">
|
||||
<p>
|
||||
Since its inception over four years ago, Read the Docs has grown
|
||||
into a massive resource that developers rely on daily. To
|
||||
|
@ -24,21 +48,26 @@
|
|||
<b><a href="{% url 'donate' %}#about">{% trans 'Read More' %}</a></b>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="donate-stats-sm">
|
||||
<ul>
|
||||
<h2>Status</h2>
|
||||
{% if not done %}
|
||||
<li>
|
||||
<div class="donate-progress">
|
||||
<div class="donate-progress-inner" style="width: {% if donate_percent > 100 %}100{% else %}{{ donate_percent }}{% endif %}%;">
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li><b>${{ donate_amount }}</b> contributed to $24,000 goal</li>
|
||||
{% endif %}
|
||||
<li><b>{{ donate_percent }}%</b> funded</li>
|
||||
<li><b>${{ donate_amount }}</b> contributed to $24,000 goal</li>
|
||||
<li><b>${{ donate_avg }}</b> average contribution</li>
|
||||
<li><b>{{ donate_count }}</b> <a href="{% url 'donate' %}#supporters">Supporters</a></li>
|
||||
</ul>
|
||||
|
||||
{% if not read_more %}
|
||||
<form action="{% url 'donate_add' %}" method="get" class="donate-form">
|
||||
<select id="id_dollars" name="dollars">
|
||||
<option value="5">$5</option>
|
||||
|
@ -53,6 +82,12 @@
|
|||
</select>
|
||||
<button>{% trans 'Donate Now' %}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if not done %}
|
||||
<em>Companies that contribute $400 or more will get a <a href="http://docs.readthedocs.org/en/latest/support.html#named-support-contact">Named Support Contact</a> or <a href="http://docs.readthedocs.org/en/latest/sponsors.html#footer-logo-promotion">Footer Logo Promotion</a>. Both offers good for 3 month duration of the Sustainability project.</em>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
|
|
@ -64,6 +64,11 @@ def footer_html(request):
|
|||
else:
|
||||
print_url = None
|
||||
|
||||
show_promo = True
|
||||
if request.user.is_authenticated():
|
||||
if request.user.gold.count() or request.user.goldonce.count():
|
||||
show_promo = False
|
||||
|
||||
context = Context({
|
||||
'show_bookmarks': show_bookmarks,
|
||||
'bookmark': bookmark,
|
||||
|
@ -91,4 +96,5 @@ def footer_html(request):
|
|||
'html': html,
|
||||
'version_active': version.active,
|
||||
'version_supported': version.supported,
|
||||
'promo': show_promo,
|
||||
})
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% include 'donate/progress.html' with read_more=True %}
|
||||
{% include 'donate/progress.html' with read_more=True done=True %}
|
||||
|
||||
{% if not request.user.is_authenticated %}
|
||||
<div class="module">
|
||||
|
|
Loading…
Reference in New Issue