ui: acc: don't mention included files in title
This commit is contained in:
parent
b9affbaee9
commit
a61c9ad7c4
@ -108,9 +108,9 @@ drawAccountsScreen _st@AppState{aopts=uopts, ajournal=j, aScreen=AccountsScreen{
|
|||||||
<+> str ")"
|
<+> str ")"
|
||||||
files = case journalFilePaths j of
|
files = case journalFilePaths j of
|
||||||
[] -> str ""
|
[] -> str ""
|
||||||
[f] -> withAttr ("border" <> "bold") $ str $ takeFileName f
|
f:_ -> withAttr ("border" <> "bold") $ str $ takeFileName f
|
||||||
[f,_] -> (withAttr ("border" <> "bold") $ str $ takeFileName f) <+> str " (& 1 included file)"
|
-- [f,_:[]] -> (withAttr ("border" <> "bold") $ str $ takeFileName f) <+> str " (& 1 included file)"
|
||||||
f:fs -> (withAttr ("border" <> "bold") $ str $ takeFileName f) <+> str (" (& " ++ show (length fs) ++ " included files)")
|
-- f:fs -> (withAttr ("border" <> "bold") $ str $ takeFileName f) <+> str (" (& " ++ show (length fs) ++ " included files)")
|
||||||
querystr = query_ $ reportopts_ $ cliopts_ uopts
|
querystr = query_ $ reportopts_ $ cliopts_ uopts
|
||||||
mdepth = depth_ $ reportopts_ $ cliopts_ uopts
|
mdepth = depth_ $ reportopts_ $ cliopts_ uopts
|
||||||
cur = str (case l^.listSelectedL of
|
cur = str (case l^.listSelectedL of
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user