From d985e879e574c770453590791bc35352c2632d01 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Wed, 12 Aug 2015 10:16:59 +0200 Subject: Translating sign in page and mail --- src/client/View/SignIn.elm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client') diff --git a/src/client/View/SignIn.elm b/src/client/View/SignIn.elm index 6fb809d..2a6cbca 100644 --- a/src/client/View/SignIn.elm +++ b/src/client/View/SignIn.elm @@ -37,18 +37,18 @@ renderSignIn model signInView = ] , div [ class "result" ] - [ signInResult signInView ] + [ signInResult model signInView ] ] -signInResult : SignInView -> Html -signInResult signInView = +signInResult : Model -> SignInView -> Html +signInResult model signInView = case signInView.result of Just result -> case result of Ok login -> div [ class "success" ] - [ text ("We sent you an email, please click to the provided link in order to sign in.") ] + [ text (getMessage "SignInEmailSent" model.translations) ] Err error -> div [ class "error" ] -- cgit v1.2.3