2014-09-02 18:07:02 +05:30
|
|
|
%p
|
2022-10-11 01:57:18 +05:30
|
|
|
= s_('Notify|Hi %{username}!') % {username: sanitize_name(@user['name'])}
|
2014-09-02 18:07:02 +05:30
|
|
|
%p
|
2018-03-17 18:26:18 +05:30
|
|
|
- if Gitlab::CurrentSettings.allow_signup?
|
2022-10-11 01:57:18 +05:30
|
|
|
= s_('Notify|Your account has been created successfully.')
|
2014-09-02 18:07:02 +05:30
|
|
|
- else
|
2022-10-11 01:57:18 +05:30
|
|
|
= s_('Notify|The Administrator created an account for you. Now you are a member of the company GitLab application.')
|
2014-09-02 18:07:02 +05:30
|
|
|
%p
|
2022-10-11 01:57:18 +05:30
|
|
|
= s_('Notify|login..........................................')
|
2014-09-02 18:07:02 +05:30
|
|
|
%code= @user['email']
|
|
|
|
|
|
|
|
- if @user.created_by_id
|
|
|
|
%p
|
2022-10-11 01:57:18 +05:30
|
|
|
= link_to s_('Notify|Click here to set your password'), edit_password_url(@user, reset_password_token: @token)
|
2015-09-11 14:41:01 +05:30
|
|
|
%p
|
2022-10-11 01:57:18 +05:30
|
|
|
= s_('Notify|This link is valid for %{password_reset_token_valid_time}.') % {password_reset_token_valid_time: password_reset_token_valid_time}
|
|
|
|
- a_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % {url: new_user_password_url(user_email: @user.email)}
|
|
|
|
- a_end = '</a>'.html_safe
|
|
|
|
= html_escape(s_('Notify|After it expires, you can %{a_start} request a new one %{a_end}.')) % {a_start: a_start, a_end: a_end}
|