1
1
{% load i18n %}
2
2
3
-
4
3
< div class ="donate-stats ">
5
- {% if done %}
6
-
7
- < h2 > Thanks for supporting us!</ h2 >
8
- < p >
9
- Read the Docs has reached our 3 month sustainability goal.
10
- From May until July we will be devoting those contributions to making Read the Docs better supported.
11
- Thanks to all the folks who have contributed.
12
- </ p >
13
-
14
- < p >
15
- Please read our < a href ="https://blog.readthedocs.com/fundraising-wrapup/ "> blog post</ a > outlining our plan going forward.
16
- All backers will receive information about how to follow along with the work we've been doing.
17
- We're excited to get things rolling,
18
- so stay tuned!
19
- </ p >
20
-
21
- {% if read_more %}
22
- < p >
23
- You can find more information on our < b > < a href ="{% url 'donate' %}#about "> {% trans 'Sustainability Page' %}</ a > </ b >
24
- </ p >
25
- {% endif %}
26
-
27
- {% else %}
28
-
29
4
< h2 > Help Support Read the Docs</ h2 >
5
+
6
+ < div class ="donate-stats-lg ">
30
7
< p >
31
8
Since its inception over four years ago, Read the Docs has grown
32
9
into a massive resource that developers rely on daily. To
@@ -48,46 +25,44 @@ <h2>Help Support Read the Docs</h2>
48
25
< b > < a href ="{% url 'donate' %}#about "> {% trans 'Read More' %}</ a > </ b >
49
26
</ p >
50
27
{% endif %}
51
-
28
+ </ div >
52
29
53
30
< div class ="donate-stats-sm ">
54
31
< ul >
55
- < h2 > Status </ h2 >
56
- {% if not done %}
57
- < li >
58
- < div class ="donate-progress ">
59
- < div class =" donate-progress-inner " style =" width: {% if donate_percent > 100 %}100{% else %}{{ donate_percent }}{% endif %}%; " >
32
+ {% if not done and not evergreen %}
33
+ < li >
34
+ < div class =" donate-progress " >
35
+ < div class ="donate-progress-inner " style =" width: {% if donate_percent > 100 %}100{% else %}{{ donate_percent }}{% endif %}%; ">
36
+ </ div >
60
37
</ div >
61
- </ div >
62
- </ li >
38
+ </ li >
39
+ {% endif %}
40
+ {% if not evergreen %}
41
+ < li > < b > {{ donate_percent }}%</ b > funded</ li >
42
+ < li > < b > ${{ donate_amount }}</ b > contributed to $24,000 goal</ li >
43
+ {% else %}
44
+ < li > < b > ${{ donate_amount }}</ b > contributed</ li >
63
45
{% endif %}
64
- < li > < b > {{ donate_percent }}%</ b > funded</ li >
65
- < li > < b > ${{ donate_amount }}</ b > contributed to $24,000 goal</ li >
66
46
< li > < b > ${{ donate_avg }}</ b > average contribution</ li >
67
47
< li > < b > {{ donate_count }}</ b > < a href ="{% url 'donate' %}#supporters "> Supporters</ a > </ li >
68
48
</ ul >
69
49
70
50
{% if not read_more %}
71
- < form action ="{% url 'donate_add' %} " method ="get " class ="donate-form ">
72
- < select id ="id_dollars " name ="dollars ">
73
- < option value ="5 "> $5</ option >
74
- < option value ="10 "> $10</ option >
75
- < option value ="25 "> $25</ option >
76
- < option value ="50 " selected ="selected "> 1 Hour ($50)</ option >
77
- < option value ="100 "> 2 Hours ($100)</ option >
78
- < option value ="200 "> 4 Hours ($200)</ option >
79
- < option value ="400 "> 1 Day ($400)</ option >
80
- < option value ="800 "> 2 Days ($800)</ option >
81
- < option value ="2000 "> 5 Days ($2000)</ option >
82
- </ select >
83
- < button > {% trans 'Donate Now' %}</ button >
84
- </ form >
85
- {% 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 >
51
+ < form action ="{% url 'donate_add' %} " method ="get " class ="donate-form ">
52
+ < select id ="id_dollars " name ="dollars ">
53
+ < option value ="5 "> $5</ option >
54
+ < option value ="10 "> $10</ option >
55
+ < option value ="25 "> $25</ option >
56
+ < option value ="50 " selected ="selected "> 1 Hour ($50)</ option >
57
+ < option value ="100 "> 2 Hours ($100)</ option >
58
+ < option value ="200 "> 4 Hours ($200)</ option >
59
+ < option value ="400 "> 1 Day ($400)</ option >
60
+ < option value ="800 "> 2 Days ($800)</ option >
61
+ < option value ="2000 "> 5 Days ($2000)</ option >
62
+ </ select >
63
+ < button > {% trans 'Donate Now' %}</ button >
64
+ </ form >
88
65
{% endif %}
89
66
</ div >
90
67
91
- {% endif %}
92
-
93
68
</ div >
0 commit comments