appeal: Enhance progress text.
This commit is contained in:
		
							parent
							
								
									8cb1f3f685
								
							
						
					
					
						commit
						5bd39ff315
					
				
					 1 changed files with 38 additions and 25 deletions
				
			
		|  | @ -42,34 +42,47 @@ | ||||||
|       <div id="navbar-clear"></div> |       <div id="navbar-clear"></div> | ||||||
| 
 | 
 | ||||||
|     </div> |     </div> | ||||||
|  | 
 | ||||||
|  | {% comment %} | ||||||
|  | FUNDRAISER VARIABLES AND CONSTANTS GUIDE | ||||||
|  | 
 | ||||||
|  | fundraiser_goal_amount: The highest number of Supporters we want | ||||||
|  | fundraiser_so_far_amount: The number of Supporters we have | ||||||
|  | fundraiser_donation_count: The "minimum" number of Supporters we want (not currently used) | ||||||
|  | fundraiser_donation_count_disclose_threshold: The number of Supporters that have been matched | ||||||
|  | 
 | ||||||
|  | When we started the fundraiser, we had 660 Supporters matched. | ||||||
|  | PIA will match up to 416. | ||||||
|  | 660+416==1076, so we use that constant to see if our match is done. | ||||||
|  | {% endcomment %} | ||||||
|  | 
 | ||||||
|     <div class="fundraiser-top-text"> |     <div class="fundraiser-top-text"> | ||||||
| {% if sitefundgoal.fundraiser_so_far_amount < sitefundgoal.fundraiser_donation_count %} |       <em> | ||||||
|    <em>Conservancy |         Let's stand up for software freedom together! | ||||||
|    <a href="/supporter/">needs <span id="site-fundraiser-middle-goal">{{ sitefundgoal.fundraiser_donation_count|intcomma }}</span> Supporters</a> to continue its basic community services & |         {% if sitefundgoal.fundraiser_goal_amount > (sitefundgoal.fundraiser_donation_count_disclose_threshold + sitefundgoal.fundraiser_so_far_amount) %} | ||||||
|    <span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> to |         We still need | ||||||
|    avoid hibernating its compliance efforts in 2017. |         {{ sitefundgoal.fundraiser_goal_amount|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|subtract:sitefundgoal.fundraiser_so_far_amount|intcomma }} | ||||||
| {% else %} |         more Supporters to maintain our full range of activities in 2017. | ||||||
| <span id="site-fundraiser-middle-goal" style="display: none;">{{ sitefundgoal.fundraiser_donation_count|intcomma }}</span> |         {% endif %} | ||||||
|       <em>Let's stand up for software freedom together! |         {% if sitefundgoal.fundraiser_donation_count_disclose_threshold > 1076 %} | ||||||
|       We still need |         416 Supporters were matched | ||||||
|         {{ sitefundgoal.fundraiser_goal_amount|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|subtract:sitefundgoal.fundraiser_so_far_amount|intcomma }} more Supporters to maintain our full range of activities in 2017.  Supporters who join or renew by January 15 <a href="/news/2016/nov/29/private-internet-access-2016-fundraising-match/">will count twice</a>, thanks to <a href="https://www.privateinternetaccess.com/">Private Internet Access</a>! |         {% else %} | ||||||
| {% endif %} |         The next {% 1076|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|intcomma %} Supporters who join or renew by January 15 <a href="/news/2016/nov/29/private-internet-access-2016-fundraising-match/">will count twice</a>, | ||||||
| {% if sitefundgoal.fundraiser_donation_count_disclose_threshold < 632 %} |         {% endif %} | ||||||
| The <strong>next {{ 632|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold }} supporters |         thanks to <a href="https://www.privateinternetaccess.com/">Private Internet Access</a>! | ||||||
| who sign up <a href="/news/2016/feb/01/PIA-match-extended/">by the end of Feb. 29th (anywhere on earth) will count twice</a></strong>, thanks to <a href="https://www.privateinternetaccess.com/">Private Internet Access</a>! |       </em> | ||||||
| {% endif %} |  | ||||||
| </em> |  | ||||||
| <div id="siteprogressbar"> | <div id="siteprogressbar"> | ||||||
| <a href="/supporter"> | <a href="/supporter"> | ||||||
| <span id="site-fundraiser-so-far">{{ sitefundgoal.fundraiser_so_far_amount|intcomma }}</span> have joined so far. |   <span id="site-fundraiser-so-far">{{ sitefundgoal.fundraiser_so_far_amount|intcomma }}</span> have joined so far. | ||||||
| {% if sitefundgoal.fundraiser_so_far_amount > 750 %} |   <span id="site-fundraiser-match-count">{{ sitefundgoal.fundraiser_donation_count_disclose_threshold|intcomma }}</span> Supporters have been matched. | ||||||
| Thus, our 750 goal was achieved & {{ sitefundgoal.fundraiser_so_far_amount|subtract:750|intcomma }} have |   {% if sitefundgoal.fundraiser_goal_amount > (sitefundgoal.fundraiser_donation_count_disclose_threshold + sitefundgoal.fundraiser_so_far_amount) %} | ||||||
|     joined beyond that. |   We still need | ||||||
| {% endif %} |   {{ sitefundgoal.fundraiser_goal_amount|subtract:sitefundgoal.fundraiser_donation_count_disclose_threshold|subtract:sitefundgoal.fundraiser_so_far_amount|intcomma }} | ||||||
| {% if sitefundgoal.fundraiser_donation_count_disclose_threshold > 0 %} |   more Supporters to reach | ||||||
| Also, match pledges reduced our <span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span> maximum need by <span id="site-fundraiser-match-count">{{ sitefundgoal.fundraiser_donation_count_disclose_threshold|intcomma }}</span> |   {% else %} | ||||||
| {% endif %} |   That means we reached | ||||||
| ! |   {% endif %} | ||||||
|  |   our goal of <span id="site-fundraiser-final-goal">{{ sitefundgoal.fundraiser_goal_amount|intcomma }}</span>. | ||||||
| </a> | </a> | ||||||
| </div> | </div> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith