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
7ae993ae
Commit
7ae993ae
authored
Apr 18, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix new group form
parent
ade61c96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
app/assets/stylesheets/pages/settings.scss
app/assets/stylesheets/pages/settings.scss
+1
-1
app/views/shared/_group_form.html.haml
app/views/shared/_group_form.html.haml
+6
-6
app/views/shared/_visibility_radios.html.haml
app/views/shared/_visibility_radios.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/settings.scss
View file @
7ae993ae
...
...
@@ -174,7 +174,7 @@
.option-description
,
.option-disabled-reason
{
margin-left
:
29
px
;
margin-left
:
45
px
;
color
:
$project-option-descr-color
;
}
...
...
app/views/shared/_group_form.html.haml
View file @
7ae993ae
...
...
@@ -2,8 +2,8 @@
-
group_path
=
root_url
-
group_path
<<
parent
.
full_path
+
'/'
if
parent
.form-group
=
f
.
label
:path
,
class:
'col-form-label'
do
.form-group
.row
=
f
.
label
:path
,
class:
'col-form-label
col-sm-2
'
do
Group path
.col-sm-10
.input-group.gl-field-error-anchor
...
...
@@ -25,16 +25,16 @@
=
succeed
'.'
do
=
link_to
'Learn more'
,
help_page_path
(
'user/group/index'
,
anchor:
'changing-a-groups-path'
),
target:
'_blank'
.form-group.group-name-holder
=
f
.
label
:name
,
class:
'col-form-label'
do
.form-group.
row.
group-name-holder
=
f
.
label
:name
,
class:
'col-form-label
col-sm-2
'
do
Group name
.col-sm-10
=
f
.
text_field
:name
,
class:
'form-control'
,
required:
true
,
title:
'You can choose a descriptive name different from the path.'
.form-group.group-description-holder
=
f
.
label
:description
,
class:
'col-form-label'
.form-group.
row.
group-description-holder
=
f
.
label
:description
,
class:
'col-form-label
col-sm-2
'
.col-sm-10
=
f
.
text_area
:description
,
maxlength:
250
,
class:
'form-control js-gfm-input'
,
rows:
4
app/views/shared/_visibility_radios.html.haml
View file @
7ae993ae
...
...
@@ -2,7 +2,7 @@
-
disallowed
=
disallowed_visibility_level?
(
form_model
,
level
)
-
restricted
=
restricted_visibility_levels
.
include?
(
level
)
-
disabled
=
disallowed
||
restricted
.form-check
{
class:
[(
'disabled'
if
disabled
),
(
'restricted'
if
restricted
)]
}
.form-check
.pl-0
{
class:
[(
'disabled'
if
disabled
),
(
'restricted'
if
restricted
)]
}
=
form
.
label
"
#{
model_method
}
_
#{
level
}
"
do
=
form
.
radio_button
model_method
,
level
,
checked:
(
selected_level
==
level
),
disabled:
disabled
=
visibility_level_icon
(
level
)
...
...
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