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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/users/_access_levels.html.haml')
-rw-r--r--app/views/admin/users/_access_levels.html.haml19
1 files changed, 8 insertions, 11 deletions
diff --git a/app/views/admin/users/_access_levels.html.haml b/app/views/admin/users/_access_levels.html.haml
index 51e6af56377..cf951ae0265 100644
--- a/app/views/admin/users/_access_levels.html.haml
+++ b/app/views/admin/users/_access_levels.html.haml
@@ -1,22 +1,19 @@
%fieldset
- %legend
+ %legend.gl-border-bottom-0
= s_('AdminUsers|Access')
.form-group.row
- .col-sm-2.col-form-label
+ .col-12
= f.label :projects_limit
- .col-sm-10
= f.number_field :projects_limit, min: 0, max: Gitlab::Database::MAX_INT_VALUE, class: 'form-control gl-form-input'
.form-group.row
- .col-sm-2.col-form-label.gl-pt-0
+ .col-12.gl-pt-0
= f.label :can_create_group
- .col-sm-10
= f.gitlab_ui_checkbox_component :can_create_group, ''
.form-group.row
- .col-sm-2.col-form-label.gl-pt-0
+ .col-12.gl-pt-0
= f.label :access_level
- .col-sm-10
- editing_current_user = (current_user == @user)
= f.gitlab_ui_radio_component :access_level, :regular,
@@ -35,10 +32,10 @@
.form-group.row
- .col-sm-2.col-form-label.gl-pt-0
+ .col-12.gl-pt-0
= f.label :external
.hidden{ data: user_internal_regex_data }
- .col-sm-10.gl-display-flex.gl-align-items-baseline
+ .col-12.gl-display-flex.gl-align-items-baseline
= f.gitlab_ui_checkbox_component :external, s_('AdminUsers|External users cannot see internal or private projects unless access is explicitly granted. Also, external users cannot create projects, groups, or personal snippets.')
%row.hidden#warning_external_automatically_set
= gl_badge_tag s_('AdminUsers|Automatically marked as default internal user'), variant: :warning
@@ -46,9 +43,9 @@
.form-group.row
- @user.credit_card_validation || @user.build_credit_card_validation
= f.fields_for :credit_card_validation do |ff|
- .col-sm-2.col-form-label.gl-pt-0
+ .col-12.gl-pt-0
= ff.label s_('AdminUsers|Validate user account')
- .col-sm-10.gl-display-flex.gl-align-items-baseline
+ .col-12.gl-display-flex.gl-align-items-baseline
= ff.gitlab_ui_checkbox_component :credit_card_validated_at,
s_('AdminUsers|User is validated and can use free CI minutes on shared runners.'),
help_text: s_('AdminUsers|A user can validate themselves by inputting a credit/debit card, or an admin can manually validate a user.'),