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-30 13:37:25 +0800
commite640093c5bef04a691500ee1cb4d2394e54e1088 (patch)
treef872fc8b78247846bf21a15032dd36b70f09376e
parent6cbac50be03da7a95ac9accb66ddc0dd11464e70 (diff)
downloadgitlab-ce-e640093c5bef04a691500ee1cb4d2394e54e1088.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