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
Tatuya Kamada
gitlab-ce
Commits
c601c8a3
Commit
c601c8a3
authored
Feb 09, 2017
by
Robert Marcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed duplicate "Visibility Level" label on New Project page
parent
091874da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+2
-3
app/views/shared/_visibility_level.html.haml
app/views/shared/_visibility_level.html.haml
+7
-4
changelogs/unreleased/issue-newproj-layout.yml
changelogs/unreleased/issue-newproj-layout.yml
+4
-0
No files found.
app/views/projects/new.html.haml
View file @
c601c8a3
...
@@ -94,9 +94,8 @@
...
@@ -94,9 +94,8 @@
.form-group.project-visibility-level-holder
.form-group.project-visibility-level-holder
=
f
.
label
:visibility_level
,
class:
'label-light'
do
=
f
.
label
:visibility_level
,
class:
'label-light'
do
Visibility Level
Visibility Level
=
link_to
"(?)"
,
help_page_path
(
"public_access/public_access"
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"public_access/public_access"
)
=
render
'shared/visibility_level'
,
f:
f
,
visibility_level:
default_project_visibility
,
can_change_visibility_level:
true
,
form_model:
@project
=
render
'shared/visibility_level'
,
f:
f
,
visibility_level:
default_project_visibility
,
can_change_visibility_level:
true
,
form_model:
@project
,
with_label:
false
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
=
link_to
'Cancel'
,
dashboard_projects_path
,
class:
'btn btn-cancel'
=
link_to
'Cancel'
,
dashboard_projects_path
,
class:
'btn btn-cancel'
...
...
app/views/shared/_visibility_level.html.haml
View file @
c601c8a3
-
with_label
=
local_assigns
.
fetch
(
:with_label
,
true
)
.form-group.project-visibility-level-holder
.form-group.project-visibility-level-holder
=
f
.
label
:visibility_level
,
class:
'control-label'
do
-
if
with_label
Visibility Level
=
f
.
label
:visibility_level
,
class:
'control-label'
do
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"public_access/public_access"
)
Visibility Level
.col-sm-10
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"public_access/public_access"
)
%div
{
:class
=>
(
"col-sm-10"
if
with_label
)
}
-
if
can_change_visibility_level
-
if
can_change_visibility_level
=
render
(
'shared/visibility_radios'
,
model_method: :visibility_level
,
form:
f
,
selected_level:
visibility_level
,
form_model:
form_model
)
=
render
(
'shared/visibility_radios'
,
model_method: :visibility_level
,
form:
f
,
selected_level:
visibility_level
,
form_model:
form_model
)
-
else
-
else
...
...
changelogs/unreleased/issue-newproj-layout.yml
0 → 100644
View file @
c601c8a3
---
title
:
Removed duplicate "Visibility Level" label on New Project page
merge_request
:
author
:
Robert Marcano
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