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
7f4e1bd4
Commit
7f4e1bd4
authored
Oct 11, 2017
by
tauriedavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
39035 Move GitLab export option to top of import list when creating a new project
parent
93139aa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+4
-4
changelogs/unreleased/39035-move-gitlab-export-to-top-import-list.yml
...nreleased/39035-move-gitlab-export-to-top-import-list.yml
+5
-0
No files found.
app/views/projects/new.html.haml
View file @
7f4e1bd4
...
...
@@ -54,6 +54,10 @@
=
f
.
label
:visibility_level
,
class:
'label-light'
do
#the label here seems wrong
Import project from
.import-buttons
-
if
gitlab_project_import_enabled?
.import_gitlab_project.has-tooltip
{
data:
{
container:
'body'
}
}
=
link_to
new_import_gitlab_project_path
,
class:
'btn btn_import_gitlab_project project-submit'
do
=
icon
(
'gitlab'
,
text:
'GitLab export'
)
%div
-
if
github_import_enabled?
=
link_to
new_import_github_path
,
class:
'btn import_github'
do
...
...
@@ -87,10 +91,6 @@
-
if
git_import_enabled?
%button
.btn.js-toggle-button.import_git
{
type:
"button"
}
=
icon
(
'git'
,
text:
'Repo by URL'
)
-
if
gitlab_project_import_enabled?
.import_gitlab_project.has-tooltip
{
data:
{
container:
'body'
}
}
=
link_to
new_import_gitlab_project_path
,
class:
'btn btn_import_gitlab_project project-submit'
do
=
icon
(
'gitlab'
,
text:
'GitLab export'
)
.col-lg-12
.js-toggle-content.hide.toggle-import-form
%hr
...
...
changelogs/unreleased/39035-move-gitlab-export-to-top-import-list.yml
0 → 100644
View file @
7f4e1bd4
---
title
:
14830 Move GitLab export option to top of import list when creating a new project
merge_request
:
author
:
type
:
changed
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