Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_check_recovery_settings.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 99af540e9b770d9e7f3326a3eabec9994bdf0a44 (plain)
1
2
3
4
5
6
7
8
9
10
= render 'shared/global_alert',
  variant: :warning,
  alert_class: 'js-recovery-settings-callout',
  alert_data: { feature_id: 'account_recovery_regular_check', dismiss_endpoint: user_callouts_path, defer_links: 'true' } do
  .gl-alert-body
    = s_('Profiles|We recommend you ensure two-factor authentication is enabled and the settings are up to date.')
    = link_to _('Learn more.'), help_page_path('user/profile/account/two_factor_authentication'), target: '_blank', rel: 'noopener noreferrer'
  .gl-alert-actions
    = link_to profile_two_factor_auth_path, class: 'deferred-link btn gl-alert-action btn-confirm btn-md gl-button' do
      = s_('Profiles|Manage two-factor authentication')