diff options
author | Joris | 2016-04-05 23:52:13 +0200 |
---|---|---|
committer | Joris | 2016-04-05 23:52:13 +0200 |
commit | fe50c4042848681833d15fab27466d1d2d4bda45 (patch) | |
tree | 9a1eda4adb22c0d84815e20e8e021968815d7c50 /src/client/elm/LoggedIn/View | |
parent | 466f77394885cb74d01451c4733cafc9b61f4bba (diff) |
Ameliore design in income page and stat page
Diffstat (limited to 'src/client/elm/LoggedIn/View')
-rw-r--r-- | src/client/elm/LoggedIn/View/Format.elm (renamed from src/client/elm/LoggedIn/View/Price.elm) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/LoggedIn/View/Price.elm b/src/client/elm/LoggedIn/View/Format.elm index 2bfed23..7925a5c 100644 --- a/src/client/elm/LoggedIn/View/Price.elm +++ b/src/client/elm/LoggedIn/View/Format.elm @@ -1,4 +1,4 @@ -module LoggedIn.View.Price +module LoggedIn.View.Format ( price ) where @@ -8,13 +8,13 @@ import Model.Conf exposing (Conf) price : Conf -> Int -> String price conf amount = - ( formatInt amount + ( number amount ++ " " ++ conf.currency ) -formatInt : Int -> String -formatInt n = +number : Int -> String +number n = abs n |> toString |> toList |