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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
76961285
Commit
76961285
authored
Oct 08, 2018
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Focus project slug on tab navigation
parent
c616327c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/_new_project_fields.html.haml
app/views/projects/_new_project_fields.html.haml
+2
-2
changelogs/unreleased/52353-keyboard-navigation-project-slug-is-not-focused-on-new-project-page.yml
...ation-project-slug-is-not-focused-on-new-project-page.yml
+5
-0
No files found.
app/views/projects/_new_project_fields.html.haml
View file @
76961285
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
.form-group.project-path.col-sm-6
.form-group.project-path.col-sm-6
=
f
.
label
:path
,
class:
'label-bold'
do
=
f
.
label
:path
,
class:
'label-bold'
do
%span
=
_
(
"Project slug"
)
%span
=
_
(
"Project slug"
)
=
f
.
text_field
:path
,
placeholder:
"my-awesome-project"
,
class:
"form-control"
,
tabindex:
2
,
required:
true
=
f
.
text_field
:path
,
placeholder:
"my-awesome-project"
,
class:
"form-control"
,
required:
true
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
.form-text.text-muted
.form-text.text-muted
Want to house several dependent projects under the same namespace?
Want to house several dependent projects under the same namespace?
...
@@ -61,5 +61,5 @@
...
@@ -61,5 +61,5 @@
.option-description
.option-description
Allows you to immediately clone this project’s repository. Skip this if you plan to push up an existing repository.
Allows you to immediately clone this project’s repository. Skip this if you plan to push up an existing repository.
=
f
.
submit
'Create project'
,
class:
"btn btn-success project-submit"
,
tabindex:
4
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"click_button"
,
track_property:
"create_project"
,
track_value:
""
}
=
f
.
submit
'Create project'
,
class:
"btn btn-success project-submit"
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"click_button"
,
track_property:
"create_project"
,
track_value:
""
}
=
link_to
'Cancel'
,
dashboard_projects_path
,
class:
'btn btn-cancel'
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"click_button"
,
track_property:
"cancel"
}
=
link_to
'Cancel'
,
dashboard_projects_path
,
class:
'btn btn-cancel'
,
data:
{
track_label:
"
#{
track_label
}
"
,
track_event:
"click_button"
,
track_property:
"cancel"
}
changelogs/unreleased/52353-keyboard-navigation-project-slug-is-not-focused-on-new-project-page.yml
0 → 100644
View file @
76961285
---
title
:
Focus project slug on tab navigation
merge_request
:
22198
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