From 329fd1d8f3cb9d166fd1b220c36433086b88d2b9 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 10 Oct 2012 19:21:43 -0400 Subject: [PATCH] Oops, forgot to add a file (#329) --- templates/tip-distribution.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/tip-distribution.html diff --git a/templates/tip-distribution.html b/templates/tip-distribution.html new file mode 100644 index 0000000000..e304154252 --- /dev/null +++ b/templates/tip-distribution.html @@ -0,0 +1,17 @@ + + {% for amount, ncontributors, summed, pcontributors, psummed in giving_histogram %} + + {% if str(amount) == '-1' %} + + {% else %} + + + {% end %} + + + {% end %} +
Other${{ amount }} + + {{ "%5.1f" % (pcontributors * 100) }}% + ({{ ncontributors }}) +