X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=c536c94275edcdf8be0d459726eeba255ab11cd5;hb=d098f1b09ee06a4753aaaa0e0f4ccbadf22a93c8;hp=5d4bda53b31f5351ae16683d68366b4bbb0dc40a;hpb=9059c6f95453b04f506c913b2030963562c86cf1;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 5d4bda5..c536c94 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -16,6 +16,18 @@ % endfor % endif +
${next.body()}
@@ -23,3 +35,51 @@ <%def name="title()">BlueChips + +<%def name="listExpenditures(es)"> + + + + + + + + + % for e in es: + + + + + + + + % endfor +
DateSpenderDescriptionAmount
${e.date}${e.spender.name}${e.description}${e.amount}${h.link_to('Edit', h.url_for(controller='spend', + action='edit', + id=e.id))}
+ + +<%def name="listTransfers(ts)"> + + + + + + + + + + % for t in ts: + + + + + + + + + % endfor +
DateFromToDescriptionAmount
${t.date}${t.debtor.name}${t.creditor.name}${t.description}${t.amount}${h.link_to('Edit', h.url_for(controller='transfer', + action='edit', + id=t.id))}
+