X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=66a7cb9c130bebc1f22aa07e0e455af4c0995d6b;hb=c2968a707f3064e347d8cf001116d6a18fef578a;hp=a9865c1f2ae8c277bcdc8d2f405b491d24bfbf11;hpb=348f1b24bac6bead4734375a8f00bb80e0a9f3b9;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index a9865c1..66a7cb9 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -19,13 +19,17 @@
@@ -34,7 +38,11 @@ -<%def name="title()">BlueChips +<%def name="title()">BlueChips +% if c.title != '': + :: ${c.title} +% endif + <%def name="listExpenditures(es)"> @@ -43,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))}
@@ -63,6 +75,7 @@ To Description Amount + % for t in ts: @@ -70,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