aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-12 10:16:59 +0200
committerJoris Guyonvarch2015-08-12 10:16:59 +0200
commitd985e879e574c770453590791bc35352c2632d01 (patch)
tree15c4bb98b0f54e8557c6b4cbe527f5dd24cc0a9b /src/client
parent892a7dd19a92fc18767984e624b8a5026dce61e4 (diff)
Translating sign in page and mail
Diffstat (limited to 'src/client')
-rw-r--r--src/client/View/SignIn.elm8
1 files changed, 4 insertions, 4 deletions
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" ]