X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=ee8ad78f3cd579b9a3887761f7906c9b8ed003e5;hb=7032113d23283d31c3b9146c5b749fcbed32031a;hp=5d4bda53b31f5351ae16683d68366b4bbb0dc40a;hpb=9059c6f95453b04f506c913b2030963562c86cf1;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 5d4bda5..ee8ad78 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -16,6 +16,22 @@ % endfor % endif +
${next.body()}
@@ -23,3 +39,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))}
+