Commit 66a86653 authored by Yogi's avatar Yogi Committed by David O'Regan

Add gl-button to Set up new device button in 2fa settings

parent bb3b021d
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
- if current_user.two_factor_otp_enabled? - if current_user.two_factor_otp_enabled?
.row.gl-mb-3 .row.gl-mb-3
.col-md-5 .col-md-5
%button#js-setup-token-2fa-device.btn.btn-info= _("Set up new device") %button#js-setup-token-2fa-device.gl-button.btn.btn-info= _("Set up new device")
.col-md-7 .col-md-7
%p= _("Your device needs to be set up. Plug it in (if needed) and click the button on the left.") %p= _("Your device needs to be set up. Plug it in (if needed) and click the button on the left.")
- else - else
.row.gl-mb-3 .row.gl-mb-3
.col-md-4 .col-md-4
%button#js-setup-token-2fa-device.btn.btn-info.btn-block{ disabled: true }= _("Set up new device") %button#js-setup-token-2fa-device.gl-button.btn.btn-info.btn-block{ disabled: true }= _("Set up new device")
.col-md-8 .col-md-8
%p= _("You need to register a two-factor authentication app before you can set up a device.") %p= _("You need to register a two-factor authentication app before you can set up a device.")
......
---
title: Add gl-button to Set up new device button in 2fa settings
merge_request: 51283
author: Yogi (@yo)
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment