X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=43db6e4246c1871b543fc69aa83ca5a6c66c3618;hb=fed6d11d2cbd6d617d18bc01a78196865da4155b;hp=888255cbb085affec730b973cd462278eb439625;hpb=53c0833dd52f70a3f57f00b2dc2ca436dd76e94f;p=bluechips.git diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 888255c..43db6e4 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -84,7 +84,7 @@ % endif -<%def name="listExpenditures(es)"> +<%def name="listExpenditures(es, total=None, share=None)"> @@ -110,6 +110,15 @@ % endfor + % if total is not None and share is not None: + + + + + + + + % endif
Date
${total}${share}
@@ -142,6 +151,14 @@ +<%def name="listTags()"> +<% +x = ',\n'.join([h.link_to(tag.name, h.url_for(controller='history', action='tag', id=tag.id)) for tag in c.tags]) +%> +${x|n} + + + <%def name="expenditureIcon()"> ←