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
Boxiang Sun
gitlab-ce
Commits
26995798
Commit
26995798
authored
Sep 17, 2018
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes the 'required' attribute from the 'project name' field
parent
983bd38f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/import/gitlab_projects/new.html.haml
app/views/import/gitlab_projects/new.html.haml
+1
-1
app/views/projects/_new_project_fields.html.haml
app/views/projects/_new_project_fields.html.haml
+1
-1
changelogs/unreleased/51522-add-new-project-via-import-by-url-auto-populates-slug-but-not-project-name.yml
...mport-by-url-auto-populates-slug-but-not-project-name.yml
+5
-0
No files found.
app/views/import/gitlab_projects/new.html.haml
View file @
26995798
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.row
.row
.form-group.project-name.col-sm-12
.form-group.project-name.col-sm-12
=
label_tag
:name
,
_
(
'Project name'
),
class:
'label-bold'
=
label_tag
:name
,
_
(
'Project name'
),
class:
'label-bold'
=
text_field_tag
:name
,
@name
,
placeholder:
"My awesome project"
,
class:
"js-project-name form-control input-lg"
,
autofocus:
true
,
required:
true
=
text_field_tag
:name
,
@name
,
placeholder:
"My awesome project"
,
class:
"js-project-name form-control input-lg"
,
autofocus:
true
.form-group.col-12.col-sm-6
.form-group.col-12.col-sm-6
=
label_tag
:namespace_id
,
_
(
'Project URL'
),
class:
'label-bold'
=
label_tag
:namespace_id
,
_
(
'Project URL'
),
class:
'label-bold'
.form-group
.form-group
...
...
app/views/projects/_new_project_fields.html.haml
View file @
26995798
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.form-group.project-name.col-sm-12
.form-group.project-name.col-sm-12
=
f
.
label
:name
,
class:
'label-bold'
do
=
f
.
label
:name
,
class:
'label-bold'
do
%span
=
_
(
"Project name"
)
%span
=
_
(
"Project name"
)
=
f
.
text_field
:name
,
placeholder:
"My awesome project"
,
class:
"form-control input-lg"
,
autofocus:
true
,
required:
true
=
f
.
text_field
:name
,
placeholder:
"My awesome project"
,
class:
"form-control input-lg"
,
autofocus:
true
.form-group.project-path.col-sm-6
.form-group.project-path.col-sm-6
=
f
.
label
:namespace_id
,
class:
'label-bold'
do
=
f
.
label
:namespace_id
,
class:
'label-bold'
do
%span
=
s_
(
"Project URL"
)
%span
=
s_
(
"Project URL"
)
...
...
changelogs/unreleased/51522-add-new-project-via-import-by-url-auto-populates-slug-but-not-project-name.yml
0 → 100644
View file @
26995798
---
title
:
Removes the 'required' attribute from the 'project name' field
merge_request
:
21770
author
:
type
:
other
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