debian-mirror-gitlab/app/views/groups/_group_admin_settings.html.haml

27 lines
1.3 KiB
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.form-group.row
2018-12-05 23:21:45 +05:30
= f.label :lfs_enabled, 'Large File Storage', class: 'col-form-label col-sm-2 pt-0'
2018-10-15 14:42:47 +05:30
.col-sm-10
2018-11-08 19:23:39 +05:30
.form-check
= f.check_box :lfs_enabled, checked: @group.lfs_enabled?, class: 'form-check-input'
= f.label :lfs_enabled, class: 'form-check-label' do
2018-10-15 14:42:47 +05:30
%strong
Allow projects within this group to use Git LFS
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
%br/
%span.descr This setting can be overridden in each project.
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
.form-group.row
2018-12-05 23:21:45 +05:30
= f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2 pt-0'
2018-10-15 14:42:47 +05:30
.col-sm-10
2018-11-08 19:23:39 +05:30
.form-check
= f.check_box :require_two_factor_authentication, class: 'form-check-input'
= f.label :require_two_factor_authentication, class: 'form-check-label' do
2018-10-15 14:42:47 +05:30
%strong
2018-12-05 23:21:45 +05:30
Require all users in this group to set up Two-factor authentication
2018-10-15 14:42:47 +05:30
= link_to icon('question-circle'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group')
2018-11-08 19:23:39 +05:30
.form-group.row
.offset-sm-2.col-sm-10
.form-check
2018-10-15 14:42:47 +05:30
= f.text_field :two_factor_grace_period, class: 'form-control'
2018-11-08 19:23:39 +05:30
.form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication