summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantony liu <sun_apollo@yeah.net>2019-05-30 02:56:45 +0000
committerantony liu <sun_apollo@yeah.net>2019-05-30 02:56:45 +0000
commitd324d6a419f34dfa713863cd822c1f45887cbb82 (patch)
tree41920b1b0a714012e81c1312a71f02ae09889ced
parentfd8f9e2defae2dcb983ed8627b03c3592417d3ee (diff)
downloadgitlab-ce-d324d6a419f34dfa713863cd822c1f45887cbb82.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