summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantony liu <sun_apollo@yeah.net>2019-05-30 02:56:45 +0000
committerantonyliu <sun_apollo@yeah.net>2019-05-31 12:32:11 +0800
commit8203f9463ba5d717bbd8a1edddc6f2a4231c6274 (patch)
tree6e707a4299fd2be9e921399da18722b828b07c9d
parent66cd56a037903ca02c5760e64eb9a4784669d8d5 (diff)
downloadgitlab-ce-8203f9463ba5d717bbd8a1edddc6f2a4231c6274.tar.gz
Apply suggestion to app/views/profiles/two_factor_auths/_codes.html.haml
-rw-r--r--app/views/profiles/two_factor_auths/_codes.html.haml3
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