diff --git a/hledger-lib/Hledger/Data/Matching.hs b/hledger-lib/Hledger/Data/Matching.hs index c7325b322..92b28a0d0 100644 --- a/hledger-lib/Hledger/Data/Matching.hs +++ b/hledger-lib/Hledger/Data/Matching.hs @@ -60,12 +60,12 @@ data QueryOpt = QueryOptInAcctOnly AccountName -- ^ show an account register fo -- | QueryOptEffectiveDate -- ^ show effective dates instead of actual dates deriving (Show, Eq) --- | The account we are currently focussed on, if any. +-- | The account we are currently focussed on, if any, and whether subaccounts are included. -- Just looks at the first query option. -inAccount :: [QueryOpt] -> Maybe AccountName +inAccount :: [QueryOpt] -> Maybe (AccountName,Bool) inAccount [] = Nothing -inAccount (QueryOptInAcctOnly a:_) = Just a -inAccount (QueryOptInAcct a:_) = Just a +inAccount (QueryOptInAcctOnly a:_) = Just (a,False) +inAccount (QueryOptInAcct a:_) = Just (a,True) -- | A matcher for the account(s) we are currently focussed on, if any. -- Just looks at the first query option. diff --git a/hledger-web/.hledger/web/static/style.css b/hledger-web/.hledger/web/static/style.css index 3916a8331..47608b804 100644 --- a/hledger-web/.hledger/web/static/style.css +++ b/hledger-web/.hledger/web/static/style.css @@ -39,7 +39,7 @@ body { backgroun /*------------------------------------------------------------------------------------------*/ /* 2. font families & sizes */ /* overspecified for cross-browser robustness */ -body { font-family:helvetica,arial,"sans serif"; } +body { font-family:helvetica,arial,sans-serif; } pre { font-family:courier,"courier new",monospace; } input.textinput, .dhx_combo_input, .dhx_combo_list { font-size:small; } #editform textarea { font-family:courier,"courier new",monospace; font-size:small; } @@ -57,6 +57,7 @@ input.textinput, .dhx_combo_input, .dhx_combo_list { font-size:small; } .showall { font-size:small; } /* #addformlink { font-size:small; } */ /* #editformlink { font-size:small; } */ +#contenttitle { font-size:1.2em; } /*------------------------------------------------------------------------------------------*/ /* 3. layout */ diff --git a/hledger-web/.hledger/web/templates/accountregisterreport.hamlet b/hledger-web/.hledger/web/templates/accountregisterreport.hamlet deleted file mode 100644 index cc8bd6bea..000000000 --- a/hledger-web/.hledger/web/templates/accountregisterreport.hamlet +++ /dev/null @@ -1,34 +0,0 @@ -