aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Income
diff options
context:
space:
mode:
authorJoris2016-06-26 13:22:47 +0200
committerJoris2016-06-26 13:22:47 +0200
commit0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e (patch)
treefb8ac3e55677d87fb107af90a2cf62409c03b946 /src/client/elm/LoggedIn/Income
parent9ec84e3a20c767f6525639f58cd22715e302b88d (diff)
Confirm before payment deletion
Diffstat (limited to 'src/client/elm/LoggedIn/Income')
-rw-r--r--src/client/elm/LoggedIn/Income/View.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/elm/LoggedIn/Income/View.elm b/src/client/elm/LoggedIn/Income/View.elm
index 02e4467..f6cf8f8 100644
--- a/src/client/elm/LoggedIn/Income/View.elm
+++ b/src/client/elm/LoggedIn/Income/View.elm
@@ -114,7 +114,7 @@ incomeView loggedData (incomeId, income) =
, text <| Format.price loggedData.conf income.amount
, let dialogConfig =
{ className = "incomeDialog"
- , title = getMessage "ConfirmDelete" loggedData.translations
+ , title = getMessage "ConfirmIncomeDelete" loggedData.translations
, body = always <| text ""
, confirm = getMessage "Confirm" loggedData.translations
, confirmMsg = always <| Ok <| Msg.UpdateLoggedIn <| LoggedInMsg.DeleteIncome incomeId
@@ -122,5 +122,5 @@ incomeView loggedData (incomeId, income) =
}
in button
[ onClick (Msg.Dialog <| Dialog.Open dialogConfig) ]
- [ FontAwesome.remove Color.chestnutRose 14 ]
+ [ FontAwesome.trash Color.chestnutRose 14 ]
]