From a179d032c20499958d47a1885c1f1d48707d5410 Mon Sep 17 00:00:00 2001 From: Luna D Date: Thu, 19 Dec 2019 17:45:09 -0500 Subject: [PATCH] change the appearance of the 2FA badge --- lib/philomena_web/templates/admin/user/index.html.slime | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/philomena_web/templates/admin/user/index.html.slime b/lib/philomena_web/templates/admin/user/index.html.slime index 46cb5562..dab444dc 100644 --- a/lib/philomena_web/templates/admin/user/index.html.slime +++ b/lib/philomena_web/templates/admin/user/index.html.slime @@ -34,10 +34,14 @@ h1 Users = cond do - user.otp_required_for_login -> - span.banner__2fa.success 2FA + span.banner__2fa.success + i.fas.fa-check> + ' 2FA - user.role != "user" and !user.otp_required_for_login -> - span.banner__2fa.danger 1FA + span.banner__2fa.danger + i.fas.fa-times> + ' 2FA - true ->