Changeset - 4a5af8324aa8
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2015-03-09 04:12:36
bkuhn@ebb.org
Use humanize to format dollar amounts
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/npoacct/index.html
Show inline comments
 
{% load humanize %}
 
{% extends "base_conservancy.html" %}
 

	
 
{% block subtitle %}NPOAcct - {% endblock %}
 
{% block category %}npoacct{% endblock %}
 

	
...
 
@@ -134,8 +136,8 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
 
*/
 
</script>
 
-->
 
{{ fundgoal.fundraiser_so_far_amount }} raised toward<br/>
 
our {{ fundgoal.fundraiser_goal_amount }} goal.<br/>
 
${{ fundgoal.fundraiser_so_far_amount|floatformat:2|intcomma }} raised toward<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>
 
<p style="font-size: 75%">(Progress bar updated monthly.)</p>
 
<a id="donate" style="text-decoration:none"></a>
0 comments (0 inline, 0 general)