mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 04:27:47 +01:00
Add translations for security settings view
This commit is contained in:
parent
4d7edfb73d
commit
a71b5ce294
2 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
%h2= t('views.settings.security.2fa.title')
|
%h2= t(".heading")
|
||||||
- if current_user.otp_module_disabled?
|
- if current_user.otp_module_disabled?
|
||||||
= render partial: 'settings/security/totp_setup', locals: { qr_svg: qr_svg }
|
= render partial: "settings/security/totp_setup", locals: { qr_svg: qr_svg }
|
||||||
- else
|
- else
|
||||||
= render partial: 'settings/security/totp_enabled', locals: { recovery_code_count: recovery_code_count }
|
= render partial: "settings/security/totp_enabled", locals: { recovery_code_count: recovery_code_count }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
= render 'settings/security', qr_svg: @qr_svg, recovery_code_count: @recovery_code_count
|
= render "settings/security", qr_svg: @qr_svg, recovery_code_count: @recovery_code_count
|
||||||
|
|
||||||
- provide(:title, generate_title('Security Settings'))
|
- provide(:title, generate_title(t(".title")))
|
||||||
- parent_layout 'user/settings'
|
- parent_layout "user/settings"
|
||||||
|
|
Loading…
Reference in a new issue