From 27e4fec94304457d09e53e72f5661629c741e47d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 10 Sep 2011 19:52:35 +0000 Subject: [PATCH] web: fix some invalid html --- hledger-web/Hledger/Web/Handlers.hs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/hledger-web/Hledger/Web/Handlers.hs b/hledger-web/Hledger/Web/Handlers.hs index 0419b69a3..e38306316 100644 --- a/hledger-web/Hledger/Web/Handlers.hs +++ b/hledger-web/Hledger/Web/Handlers.hs @@ -201,7 +201,7 @@ accountsReportAsHtml _ vd@VD{..} (items',total) = - Add a transaction.. + Add a transaction.. Journal entries + entries   edit @@ -223,10 +223,11 @@ accountsReportAsHtml _ vd@VD{..} (items',total) = ^{itemAsHtml vd i} - + #{mixedAmountAsHtml total} + |] where l = journalToLedger nullfilterspec j @@ -619,10 +620,10 @@ navlink VD{..} s dest title = [$hamlet| -- | Links to the various journal editing forms. editlinks :: Hamlet AppRoute editlinks = [$hamlet| -edit +edit \ | # -add -import transactions +add +import transactions |] -- | Link to a topic in the manual. @@ -727,7 +728,7 @@ addform vd@VD{..} = [$hamlet| $if manyfiles \ to: ^{journalselect $ files j} \ or # - cancel + cancel |] where title = "Add transaction" :: String @@ -795,11 +796,12 @@ editform VD{..} = [$hamlet| ^{formathelp} cancel + cancel |] where manyfiles = (length $ files j) > 1 @@ -816,7 +818,7 @@ importform = [$hamlet| Hamlet AppRoute