From 0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 26 Jun 2016 13:22:47 +0200 Subject: Confirm before payment deletion --- src/client/elm/LoggedIn/Income/View.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/elm/LoggedIn/Income/View.elm') 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 ] ] -- cgit v1.2.3