Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
5a4839b0
Commit
5a4839b0
authored
Jun 05, 2018
by
Clement Ho
Committed by
Filipa Lacerda
Jun 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix layout in admin edit user form
parent
98156bfd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
app/views/admin/users/_access_levels.html.haml
app/views/admin/users/_access_levels.html.haml
+10
-10
app/views/admin/users/_form.html.haml
app/views/admin/users/_form.html.haml
+1
-1
No files found.
app/views/admin/users/_access_levels.html.haml
View file @
5a4839b0
%fieldset
%fieldset
%legend
Access
%legend
Access
.form-group
.form-group
.row
=
f
.
label
:projects_limit
,
class:
'col-form-label'
=
f
.
label
:projects_limit
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
=
f
.
number_field
:projects_limit
,
min:
0
,
max:
Gitlab
::
Database
::
MAX_INT_VALUE
,
class:
'form-control'
.col-sm-10
=
f
.
number_field
:projects_limit
,
min:
0
,
max:
Gitlab
::
Database
::
MAX_INT_VALUE
,
class:
'form-control'
.form-group
.form-group
.row
=
f
.
label
:can_create_group
,
class:
'col-form-label'
=
f
.
label
:can_create_group
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
=
f
.
check_box
:can_create_group
.col-sm-10
=
f
.
check_box
:can_create_group
.form-group
.form-group
.row
=
f
.
label
:access_level
,
class:
'col-form-label'
=
f
.
label
:access_level
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
.col-sm-10
-
editing_current_user
=
(
current_user
==
@user
)
-
editing_current_user
=
(
current_user
==
@user
)
=
f
.
radio_button
:access_level
,
:regular
,
disabled:
editing_current_user
=
f
.
radio_button
:access_level
,
:regular
,
disabled:
editing_current_user
=
label_tag
:regular
do
=
label_tag
:regular
,
class:
'font-weight-bold'
do
Regular
Regular
%p
.light
%p
.light
Regular users have access to their groups and projects
Regular users have access to their groups and projects
=
f
.
radio_button
:access_level
,
:admin
,
disabled:
editing_current_user
=
f
.
radio_button
:access_level
,
:admin
,
disabled:
editing_current_user
=
label_tag
:admin
do
=
label_tag
:admin
,
class:
'font-weight-bold'
do
Admin
Admin
%p
.light
%p
.light
Administrators have access to all groups, projects and users and can manage all features in this installation
Administrators have access to all groups, projects and users and can manage all features in this installation
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
%p
.light
%p
.light
You cannot remove your own admin rights.
You cannot remove your own admin rights.
.form-group
.form-group
.row
=
f
.
label
:external
,
class:
'col-form-label'
=
f
.
label
:external
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
.col-sm-10
=
f
.
check_box
:external
do
=
f
.
check_box
:external
do
External
External
...
...
app/views/admin/users/_form.html.haml
View file @
5a4839b0
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
=
f
.
label
:linkedin
,
class:
'col-form-label col-sm-2'
=
f
.
label
:linkedin
,
class:
'col-form-label col-sm-2'
.col-sm-10
=
f
.
text_field
:linkedin
,
class:
'form-control'
.col-sm-10
=
f
.
text_field
:linkedin
,
class:
'form-control'
.form-group.row
.form-group.row
=
f
.
label
:twitter
,
class:
'col-form-label'
=
f
.
label
:twitter
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
=
f
.
text_field
:twitter
,
class:
'form-control'
.col-sm-10
=
f
.
text_field
:twitter
,
class:
'form-control'
.form-group.row
.form-group.row
=
f
.
label
:website_url
,
'Website'
,
class:
'col-form-label col-sm-2'
=
f
.
label
:website_url
,
'Website'
,
class:
'col-form-label col-sm-2'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment