aboutsummaryrefslogtreecommitdiff
path: root/src/client/View/Payments/Table.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/View/Payments/Table.elm')
-rw-r--r--src/client/View/Payments/Table.elm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/View/Payments/Table.elm b/src/client/View/Payments/Table.elm
index 50dd151..a180315 100644
--- a/src/client/View/Payments/Table.elm
+++ b/src/client/View/Payments/Table.elm
@@ -15,6 +15,7 @@ import String exposing (append)
import Model exposing (Model)
import Model.Payment exposing (..)
import Model.View.PaymentView exposing (PaymentView)
+import Model.Translations exposing (getMessage)
import ServerCommunication as SC exposing (serverCommunications)
@@ -31,7 +32,7 @@ paymentsTable model paymentView =
([ div
[ class "header" ]
[ div [ class "cell category" ] [ renderIcon "shopping-cart" ]
- , div [ class "cell cost" ] [ renderIcon "euro" ]
+ , div [ class "cell cost" ] [ text (getMessage "MoneySymbol" model.translations) ]
, div [ class "cell user" ] [ renderIcon "user" ]
, div [ class "cell date" ] [ renderIcon "calendar" ]
, div [ class "cell" ] []
@@ -53,7 +54,7 @@ paymentLine model paymentView (id, payment) =
, onClick actions.address (UpdatePayment (ToggleEdit id))
]
[ div [ class "cell" ] [ text payment.name ]
- , div [ class "cell" ] [ text ((toString payment.cost) ++ " €") ]
+ , div [ class "cell" ] [ text ((toString payment.cost) ++ " " ++ (getMessage "MoneySymbol" model.translations)) ]
, div [ class "cell" ] [ text payment.userName ]
, div [ class "cell" ] [ text (renderDate payment.creation model.translations) ]
, if paymentView.userName == payment.userName