From 4a5af8324aa83769da49aa719e4acaa08d865f23 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 8 Mar 2015 21:12:36 -0700 Subject: [PATCH] Use humanize to format dollar amounts --- www/conservancy/static/npoacct/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/conservancy/static/npoacct/index.html b/www/conservancy/static/npoacct/index.html index 352c2d24..064f5db2 100644 --- a/www/conservancy/static/npoacct/index.html +++ b/www/conservancy/static/npoacct/index.html @@ -1,4 +1,6 @@ +{% 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);}); */ --> -{{ fundgoal.fundraiser_so_far_amount }} raised toward
-our {{ fundgoal.fundraiser_goal_amount }} goal.
+${{ fundgoal.fundraiser_so_far_amount|floatformat:2|intcomma }} raised toward
+our ${{ fundgoal.fundraiser_goal_amount|floatformat:2|intcomma }} goal.
88.4%

(Progress bar updated monthly.)