From cc087826e0582b05fc658a61d198fbc2c5aaa887 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Jun 2013 12:35:10 -0700 Subject: [PATCH] web: don't show prices in the accounts sidebar (fixes #114) --- hledger-web/Handler/Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-web/Handler/Common.hs b/hledger-web/Handler/Common.hs index 8cb332b7d..6b34c4c1c 100644 --- a/hledger-web/Handler/Common.hs +++ b/hledger-web/Handler/Common.hs @@ -532,7 +532,7 @@ numberTransactionsReportItems items = number 0 nulldate items (prevdy,prevdm,_) = toGregorian prevd mixedAmountAsHtml :: MixedAmount -> Html -mixedAmountAsHtml b = preEscapedString $ addclass $ intercalate "
" $ lines $ showMixedAmount b +mixedAmountAsHtml b = preEscapedString $ addclass $ intercalate "
" $ lines $ showMixedAmountWithoutPrice b where addclass = printf "%s" (c :: String) c = case isNegativeMixedAmount b of Just True -> "negative amount" _ -> "positive amount"