diff options
author | antony liu <sun_apollo@yeah.net> | 2019-05-30 02:56:45 +0000 |
---|---|---|
committer | antonyliu <sun_apollo@yeah.net> | 2019-05-31 12:32:11 +0800 |
commit | 8203f9463ba5d717bbd8a1edddc6f2a4231c6274 (patch) | |
tree | 6e707a4299fd2be9e921399da18722b828b07c9d /app/views/profiles | |
parent | 66cd56a037903ca02c5760e64eb9a4784669d8d5 (diff) | |
download | gitlab-ce-8203f9463ba5d717bbd8a1edddc6f2a4231c6274.tar.gz |
Apply suggestion to app/views/profiles/two_factor_auths/_codes.html.haml
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/two_factor_auths/_codes.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/profiles/two_factor_auths/_codes.html.haml b/app/views/profiles/two_factor_auths/_codes.html.haml index c2427cc2395..be0af977011 100644 --- a/app/views/profiles/two_factor_auths/_codes.html.haml +++ b/app/views/profiles/two_factor_auths/_codes.html.haml @@ -1,5 +1,6 @@ %p.slead - = _('Should you ever lose your phone or access to your one time password secret, each of these recovery codes can be used one time each to regain access to your account. Please save them in a safe place, or you %{b_start}will%{b_end} lose access to your account.'.html_safe) % { b_start:'<b>'.html_safe, b_end:'</b>'.html_safe } + - lose_2fa_message = _('Should you ever lose your phone or access to your one time password secret, each of these recovery codes can be used one time each to regain access to your account. Please save them in a safe place, or you %{b_start}will%{b_end} lose access to your account.') % { b_start:'<b>', b_end:'</b>' } + = lose_2fa_message.html_safe .codes.card %ul |