X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fstatus%2Findex.mako;h=bf4eb7b6b84c1556efd5a94c82d72d0942bf63d9;hb=b14e8ac61966508a082d3d8962d859eb0a6acf7c;hp=014e7cb4dcf9254c333c8a4acb909e5fcc253dea;hpb=f176ae9c41af71fd4504327a3f1123768b2f29bb;p=bluechips.git diff --git a/bluechips/templates/status/index.mako b/bluechips/templates/status/index.mako index 014e7cb..bf4eb7b 100644 --- a/bluechips/templates/status/index.mako +++ b/bluechips/templates/status/index.mako @@ -16,8 +16,8 @@ % for transfer in c.settle: - ${transfer[0].username} - ${transfer[1].username} + ${transfer[0].name} + ${transfer[1].name} ${transfer[2]} % endfor @@ -30,41 +30,28 @@ - - - - - - - - - - - - - - - - - - + + + + % for period in ('Total', 'Past year', 'Year to date', 'Month to date', 'Last month'): + + + % for scope in ('all', 'mine'): + + % endfor + + % endfor
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}EveryoneMy Share
${period}${c.totals[period][scope]}
-

Add a new transaction

- - -
- -
-

Your History

- - ${h.link_to('See all history', h.url_for(controller='history', action='index'))} +

+ Your History + + ${h.link_to('See all history', h.url_for(controller='history', action='index'))} + +

Expenditures