aboutsummaryrefslogtreecommitdiff
path: root/src/client/View/Price.elm
diff options
context:
space:
mode:
authorJoris2015-11-01 10:49:08 +0100
committerJoris2015-11-01 10:49:08 +0100
commita14af8d8f2cc9d561a8c8804a4c73b9a35ce8a97 (patch)
treef260b8a663449d30bae32b0f1cfd70bad323d8c6 /src/client/View/Price.elm
parentb886ef9b847b63528a40c41b333937007b8f57c5 (diff)
downloadbudget-a14af8d8f2cc9d561a8c8804a4c73b9a35ce8a97.tar.gz
budget-a14af8d8f2cc9d561a8c8804a4c73b9a35ce8a97.tar.bz2
budget-a14af8d8f2cc9d561a8c8804a4c73b9a35ce8a97.zip
Set currency in conf instead of in messages
Diffstat (limited to 'src/client/View/Price.elm')
-rw-r--r--src/client/View/Price.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/View/Price.elm b/src/client/View/Price.elm
index cb8abd2..be665a8 100644
--- a/src/client/View/Price.elm
+++ b/src/client/View/Price.elm
@@ -11,7 +11,7 @@ price : Model -> Int -> String
price model amount =
( formatInt amount
++ " "
- ++ getMessage "MoneySymbol" model.translations
+ ++ model.conf.currency
)
formatInt : Int -> String