X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fstatus%2Findex.mako;h=377179c621c68c43bc153e0a5d71964dea999b96;hb=82ad8466cea54eb777e71bb1a74798461461598b;hp=f1c21e364d02fac36bc21e5067492682b6d1b2f8;hpb=eadf3c3a4e49086b24dd61ead8ea95cdada8b88a;p=bluechips.git diff --git a/bluechips/templates/status/index.mako b/bluechips/templates/status/index.mako index f1c21e3..377179c 100644 --- a/bluechips/templates/status/index.mako +++ b/bluechips/templates/status/index.mako @@ -8,7 +8,7 @@ % else:
To balance the books, the following transfers need to be made:
-From | To | @@ -16,11 +16,23 @@||||
---|---|---|---|---|---|
${transfer[0].username} | -${transfer[1].username} | -${transfer[2]} | +${transfer[0].name} | +${transfer[1].name} | +${transfer[2]} |
+ % if c.net > 0: + The group owes you: + % elif c.net < 0: + You owe the group: + % endif + | +${abs(c.net)} | +
Total | -${c.total} | -|||
---|---|---|---|---|
Past year | -${c.year_total} | -|||
Year to date | -${c.this_year_total} | -|||
Month to date | -${c.this_month_total} | -|||
Last month | -${c.last_month_total} | ++ | Everyone | +My Share |
${period} | + % for scope in ('all', 'mine'): +${c.totals[period][scope]} | + % endfor +