From 75804df1cb231033f94183e41cdf79d36d8f6710 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 21 Aug 2016 14:30:40 +0200 Subject: Show a message if there is an error during a server request --- src/client/elm/SignIn/View.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/elm/SignIn/View.elm') diff --git a/src/client/elm/SignIn/View.elm b/src/client/elm/SignIn/View.elm index daaa527..f23ca09 100644 --- a/src/client/elm/SignIn/View.elm +++ b/src/client/elm/SignIn/View.elm @@ -38,7 +38,7 @@ view model signInModel = [] [ if signInModel.waitingServer then FontAwesome.spinner Color.white 20 - else text (getMessage "SignIn" model.translations) + else text (getMessage model.translations "SignIn") ] ] , div @@ -54,10 +54,10 @@ signInResult model signInModel = Ok login -> div [ class "success" ] - [ text (getMessage "SignInEmailSent" model.translations) ] + [ text (getMessage model.translations "SignInEmailSent") ] Err error -> div [ class "error" ] - [ text (getMessage error model.translations) ] + [ text (getMessage model.translations error) ] Nothing -> text "" -- cgit v1.2.3