From 01444a8e45b7bd5b846ebc1a26afb87ee18f8265 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 15 Feb 2011 03:19:21 +0100 Subject: More nice things for constant expenses --- templates/pages/show.mako | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'templates/pages/show.mako') diff --git a/templates/pages/show.mako b/templates/pages/show.mako index 4a8f9ff..ea9f2e2 100644 --- a/templates/pages/show.mako +++ b/templates/pages/show.mako @@ -11,7 +11,7 @@ % endfor <%self:detail name="Constant" sum="${e.constsum}" set="${e.consts}" args="exp"> - ${exp.monthly} -- ${exp.description} + ${exp.monthly} -- ${exp.description} <%self:detail name="In Summa" sum="${e.sum}" set="${e.all}" args="exp"> @@ -26,10 +26,7 @@ else: date = "%s/%s" % (e.date.year, e.date.month - 1) %> - - - ${date} - +${self.left_arrow(date, date)} % if not is_last: <% @@ -38,10 +35,7 @@ else: date = "%s/%s" % (e.date.year, e.date.month + len(exps)) %> - - ${date} - - + ${self.right_arrow(date, date)} % endif <%def name="heading()"> -- cgit v1.2.3-54-g00ecf