Translate success message on invitation login form
parent
4a75ed08bd
commit
4c423f8ec4
|
@ -554,8 +554,10 @@ InvitationDirective = ($auth, $confirm, $location, $config, $params, $navUrls, $
|
||||||
$analytics.trackEvent("auth", "invitationAccept", "invitation accept with new user", 1)
|
$analytics.trackEvent("auth", "invitationAccept", "invitation accept with new user", 1)
|
||||||
|
|
||||||
$location.path($navUrls.resolve("project", {project: $scope.invitation.project_slug}))
|
$location.path($navUrls.resolve("project", {project: $scope.invitation.project_slug}))
|
||||||
$confirm.notify("success", "You've successfully joined this project",
|
text = $translate.instant("INVITATION_LOGIN_FORM.SUCCESS", {
|
||||||
"Welcome to #{_.escape($scope.invitation.project_name)}")
|
"project_name": $scope.invitation.project_name
|
||||||
|
})
|
||||||
|
$confirm.notify("success", text)
|
||||||
|
|
||||||
onErrorSubmitRegister = (response) ->
|
onErrorSubmitRegister = (response) ->
|
||||||
if response.data._error_message
|
if response.data._error_message
|
||||||
|
|
Loading…
Reference in New Issue