X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=8403b016f956db65c7c0039e000b4fbdb08fa640;hb=d5ca54a2f614baff95c0b6c485352af4dd0fcbc1;hp=956a4eeb073c8f7618bacccbd3a9b5885d136b18;hpb=a87834811aead8d14d349c2a0fa7af6a4d57001d;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 956a4ee..8403b01 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -16,13 +16,33 @@ % endfor % endif +
${next.body()}
-<%def name="title()">BlueChips +<%def name="title()">BlueChips +% if c.title != '': + :: ${c.title} +% endif + <%def name="listExpenditures(es)"> @@ -31,13 +51,17 @@ + % for e in es: - + + % endfor
Spender Description Amount
${e.date} ${e.spender.name} ${e.description}$${h.round_currency(e.amount)}${e.amount}${h.link_to('Edit', h.url_for(controller='spend', + action='edit', + id=e.id))}
@@ -51,6 +75,7 @@ To Description Amount + % for t in ts: @@ -58,7 +83,10 @@ ${t.debtor.name} ${t.creditor.name} ${t.description} - $${h.round_currency(t.amount)} + ${t.amount} + ${h.link_to('Edit', h.url_for(controller='transfer', + action='edit', + id=t.id))} % endfor