Use humanize to format dollar amounts
This commit is contained in:
		
							parent
							
								
									3442c1bd1d
								
							
						
					
					
						commit
						4a5af8324a
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -1,4 +1,6 @@ | ||||||
|  | {% load humanize %} | ||||||
| {% extends "base_conservancy.html" %} | {% extends "base_conservancy.html" %} | ||||||
|  | 
 | ||||||
| {% block subtitle %}NPOAcct - {% endblock %} | {% block subtitle %}NPOAcct - {% endblock %} | ||||||
| {% block category %}npoacct{% endblock %} | {% block category %}npoacct{% endblock %} | ||||||
| 
 | 
 | ||||||
|  | @ -134,8 +136,8 @@ el.attachEvent('on'+ev, function() {handler.apply(el);}); | ||||||
| */ | */ | ||||||
| </script> | </script> | ||||||
| --> | --> | ||||||
| {{ fundgoal.fundraiser_so_far_amount }} raised toward<br/> | ${{ fundgoal.fundraiser_so_far_amount|floatformat:2|intcomma }} raised toward<br/> | ||||||
| our {{ fundgoal.fundraiser_goal_amount }} goal.<br/> | our ${{ fundgoal.fundraiser_goal_amount|floatformat:2|intcomma  }} goal.<br/> | ||||||
| <div id="progressbar"><span style="float:right; align:center; margin-right:40%">88.4%</span></div> | <div id="progressbar"><span style="float:right; align:center; margin-right:40%">88.4%</span></div> | ||||||
| <p style="font-size: 75%">(Progress bar updated monthly.)</p> | <p style="font-size: 75%">(Progress bar updated monthly.)</p> | ||||||
| <a id="donate" style="text-decoration:none"></a> | <a id="donate" style="text-decoration:none"></a> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn