X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=ee8ad78f3cd579b9a3887761f7906c9b8ed003e5;hb=7032113d23283d31c3b9146c5b749fcbed32031a;hp=a9865c1f2ae8c277bcdc8d2f405b491d24bfbf11;hpb=348f1b24bac6bead4734375a8f00bb80e0a9f3b9;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index a9865c1..ee8ad78 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -19,13 +19,17 @@
@@ -43,13 +47,17 @@ Spender Description Amount + % for e in es: ${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))} % endfor @@ -63,6 +71,7 @@ To Description Amount + % for t in ts: @@ -70,7 +79,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