mark rookies in reports
This commit is contained in:
@@ -29,6 +29,8 @@ import Lens.Micro ((^.))
|
|||||||
|
|
||||||
import Mtlstats.Config
|
import Mtlstats.Config
|
||||||
import Mtlstats.Format
|
import Mtlstats.Format
|
||||||
|
import Mtlstats.Helpers.Goalie
|
||||||
|
import Mtlstats.Helpers.Player
|
||||||
import Mtlstats.Types
|
import Mtlstats.Types
|
||||||
import Mtlstats.Util
|
import Mtlstats.Util
|
||||||
|
|
||||||
@@ -219,7 +221,7 @@ filteredPlayerReport width label criteria showTotals lineNumbers ps = let
|
|||||||
body = map
|
body = map
|
||||||
(\(p, stats) ->
|
(\(p, stats) ->
|
||||||
[ CellText $ show (p^.pNumber) ++ " "
|
[ CellText $ show (p^.pNumber) ++ " "
|
||||||
, CellText $ p^.pName
|
, CellText $ playerName p
|
||||||
] ++ statsCells stats)
|
] ++ statsCells stats)
|
||||||
fps
|
fps
|
||||||
|
|
||||||
@@ -283,7 +285,7 @@ goalieReport width showTotals lineNumbers goalieData = let
|
|||||||
body = map
|
body = map
|
||||||
(\(goalie, stats) ->
|
(\(goalie, stats) ->
|
||||||
[ CellText $ show (goalie^.gNumber) ++ " "
|
[ CellText $ show (goalie^.gNumber) ++ " "
|
||||||
, CellText $ goalie^.gName
|
, CellText $ goalieName goalie
|
||||||
] ++ rowCells stats)
|
] ++ rowCells stats)
|
||||||
goalieData
|
goalieData
|
||||||
|
|
||||||
@@ -318,7 +320,7 @@ gameGoalieReport width goalieData = let
|
|||||||
body = map
|
body = map
|
||||||
(\(goalie, stats) ->
|
(\(goalie, stats) ->
|
||||||
[ CellText $ show (goalie^.gNumber) ++ " "
|
[ CellText $ show (goalie^.gNumber) ++ " "
|
||||||
, CellText $ goalie^.gName
|
, CellText $ goalieName goalie
|
||||||
, CellText $ show $ stats^.gsMinsPlayed
|
, CellText $ show $ stats^.gsMinsPlayed
|
||||||
, CellText $ show $ stats^.gsGoalsAllowed
|
, CellText $ show $ stats^.gsGoalsAllowed
|
||||||
, CellText $ showFloating $ gsAverage stats
|
, CellText $ showFloating $ gsAverage stats
|
||||||
|
|||||||
Reference in New Issue
Block a user