Follow up to 3388872991
.
This commit is contained in:
parent
3388872991
commit
1babc3bec6
|
@ -93,11 +93,11 @@
|
||||||
{{#if isCurrentUser}}
|
{{#if isCurrentUser}}
|
||||||
{{#if model.second_factor_enabled}}
|
{{#if model.second_factor_enabled}}
|
||||||
{{#link-to "preferences.second-factor" class="btn btn-default"}}
|
{{#link-to "preferences.second-factor" class="btn btn-default"}}
|
||||||
{{d-icon "unlock"}} {{i18n 'user.second_factor.disable'}}
|
{{d-icon "unlock"}} <span>{{i18n 'user.second_factor.disable'}}</span>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#link-to "preferences.second-factor" class="btn btn-default"}}
|
{{#link-to "preferences.second-factor" class="btn btn-default"}}
|
||||||
{{d-icon "lock"}} {{i18n 'user.second_factor.enable'}}
|
{{d-icon "lock"}} <span>{{i18n 'user.second_factor.enable'}}</span>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -107,11 +107,13 @@
|
||||||
{{#if model.second_factor_enabled}}
|
{{#if model.second_factor_enabled}}
|
||||||
{{#if isCurrentUser}}
|
{{#if isCurrentUser}}
|
||||||
{{#link-to "preferences.second-factor-backup"}}
|
{{#link-to "preferences.second-factor-backup"}}
|
||||||
|
<span>
|
||||||
{{#if model.second_factor_backup_enabled}}
|
{{#if model.second_factor_backup_enabled}}
|
||||||
{{i18n 'user.second_factor_backup.manage'}}
|
{{i18n 'user.second_factor_backup.manage'}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{i18n 'user.second_factor_backup.enable_long'}}
|
{{i18n 'user.second_factor_backup.enable_long'}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</span>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue