X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fstatus%2Findex.mako;h=377179c621c68c43bc153e0a5d71964dea999b96;hb=82ad8466cea54eb777e71bb1a74798461461598b;hp=12b4d2a3fbb745d873d8cb0c1f149ecf9cf0e6e5;hpb=8b9b5748103994f0896d93d90537811abeb8213c;p=bluechips.git diff --git a/bluechips/templates/status/index.mako b/bluechips/templates/status/index.mako index 12b4d2a..377179c 100644 --- a/bluechips/templates/status/index.mako +++ b/bluechips/templates/status/index.mako @@ -16,11 +16,23 @@ % for transfer in c.settle: - ${transfer[0].username} - ${transfer[1].username} - ${transfer[2]} + ${transfer[0].name} + ${transfer[1].name} + ${transfer[2]} % endfor + % if c.net != 0: + + + % if c.net > 0: + The group owes you: + % elif c.net < 0: + You owe the group: + % endif + + ${abs(c.net)} + + % endif % endif