From 1c7d6ea6e3bcd3c672cb5eb3cf22ffc88cabb257 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 20 Mar 2016 22:38:44 +0100 Subject: use config-manager instead of ConfigFile --- src/client/elm/View/LoggedIn/AddPayment.elm | 2 +- src/client/elm/View/LoggedIn/Table.elm | 2 +- src/client/elm/View/Price.elm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/elm/View') diff --git a/src/client/elm/View/LoggedIn/AddPayment.elm b/src/client/elm/View/LoggedIn/AddPayment.elm index 0149432..7c0d34b 100644 --- a/src/client/elm/View/LoggedIn/AddPayment.elm +++ b/src/client/elm/View/LoggedIn/AddPayment.elm @@ -94,7 +94,7 @@ addPaymentCost address model addPayment = [] , label [ for "costInput" ] - [ text model.config.currency ] + [ text model.conf.currency ] , case addPayment.costError of Just error -> div [ class "errorMessage" ] [ text error ] diff --git a/src/client/elm/View/LoggedIn/Table.elm b/src/client/elm/View/LoggedIn/Table.elm index ca5680f..4c302a5 100644 --- a/src/client/elm/View/LoggedIn/Table.elm +++ b/src/client/elm/View/LoggedIn/Table.elm @@ -34,7 +34,7 @@ headerLine model = div [ class "header" ] [ div [ class "cell category" ] [ renderIcon "shopping-cart" ] - , div [ class "cell cost" ] [ text model.config.currency ] + , div [ class "cell cost" ] [ text model.conf.currency ] , div [ class "cell user" ] [ renderIcon "user" ] , div [ class "cell date" ] [ renderIcon "calendar" ] , div [ class "cell" ] [] diff --git a/src/client/elm/View/Price.elm b/src/client/elm/View/Price.elm index 286bcaa..be665a8 100644 --- a/src/client/elm/View/Price.elm +++ b/src/client/elm/View/Price.elm @@ -11,7 +11,7 @@ price : Model -> Int -> String price model amount = ( formatInt amount ++ " " - ++ model.config.currency + ++ model.conf.currency ) formatInt : Int -> String -- cgit v1.2.3