diff options
Diffstat (limited to 'app/views/admin/users')
-rw-r--r-- | app/views/admin/users/_access_levels.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/users/_users.html.haml | 3 | ||||
-rw-r--r-- | app/views/admin/users/show.html.haml | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/app/views/admin/users/_access_levels.html.haml b/app/views/admin/users/_access_levels.html.haml index b255354f2c1..472ba2f84a0 100644 --- a/app/views/admin/users/_access_levels.html.haml +++ b/app/views/admin/users/_access_levels.html.haml @@ -10,6 +10,7 @@ .form-group.gl-form-group{ role: 'group' } = f.gitlab_ui_checkbox_component :can_create_group, s_('AdminUsers|Can create group') + = f.gitlab_ui_checkbox_component :private_profile, s_('AdminUsers|Private profile') %fieldset.form-group.gl-form-group %legend.col-form-label.col-form-label diff --git a/app/views/admin/users/_users.html.haml b/app/views/admin/users/_users.html.haml index 96e6a264d8e..73027441fe6 100644 --- a/app/views/admin/users/_users.html.haml +++ b/app/views/admin/users/_users.html.haml @@ -48,7 +48,8 @@ .nav-controls = render_if_exists 'admin/users/admin_email_users' = render_if_exists 'admin/users/admin_export_user_permissions' - = link_to s_('AdminUsers|New user'), new_admin_user_path, class: 'btn gl-button btn-confirm btn-search float-right' + = render Pajamas::ButtonComponent.new(variant: :confirm, href: new_admin_user_path) do + = s_('AdminUsers|New user') .filtered-search-block.row-content-block.border-top-0 = form_tag admin_users_path, method: :get do diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml index 7edea81a123..f7d4121e6e0 100644 --- a/app/views/admin/users/show.html.haml +++ b/app/views/admin/users/show.html.haml @@ -76,6 +76,10 @@ %strong = @user.can_create_group ? _('Yes') : _('No') %li + %span.light= _('Private profile:') + %strong + = @user.private_profile ? _('Yes') : _('No') + %li %span.light= _('Personal projects limit:') %strong = @user.projects_limit |