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
02ceea7b
Commit
02ceea7b
authored
Jul 26, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove owner from view
parent
7ee9c3c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/import/bitbucket_server/status.html.haml
app/views/import/bitbucket_server/status.html.haml
+3
-3
No files found.
app/views/import/bitbucket_server/status.html.haml
View file @
02ceea7b
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
=
project
.
human_import_status_name
=
project
.
human_import_status_name
-
@repos
.
each
do
|
repo
|
-
@repos
.
each
do
|
repo
|
%tr
{
id:
"repo_#{repo.
owner
}___#{repo.slug}"
,
data:
{
project:
repo
.
project_key
,
repository:
repo
.
slug
}
}
%tr
{
id:
"repo_#{repo.
project_key
}___#{repo.slug}"
,
data:
{
project:
repo
.
project_key
,
repository:
repo
.
slug
}
}
%td
%td
=
link_to
repo
.
browse_url
,
repo
.
browse_url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
=
link_to
repo
.
browse_url
,
repo
.
browse_url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
%td
.import-target
%td
.import-target
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
.project-path.input-group-prepend
.project-path.input-group-prepend
-
if
current_user
.
can_select_namespace?
-
if
current_user
.
can_select_namespace?
-
selected
=
params
[
:namespace_id
]
||
:current_user
-
selected
=
params
[
:namespace_id
]
||
:current_user
-
opts
=
current_user
.
can_create_group?
?
{
extra_group:
Group
.
new
(
name:
repo
.
owner
,
path:
repo
.
owner
)
}
:
{}
-
opts
=
current_user
.
can_create_group?
?
{
extra_group:
Group
.
new
(
name:
repo
.
project_key
,
path:
repo
.
slug
)
}
:
{}
=
select_tag
:namespace_id
,
namespaces_options
(
selected
,
opts
.
merge
({
display_path:
true
})),
{
class:
'input-group-text select2 js-select-namespace'
,
tabindex:
1
}
=
select_tag
:namespace_id
,
namespaces_options
(
selected
,
opts
.
merge
({
display_path:
true
})),
{
class:
'input-group-text select2 js-select-namespace'
,
tabindex:
1
}
-
else
-
else
=
text_field_tag
:path
,
current_user
.
namespace_path
,
class:
"input-group-text input-large form-control"
,
tabindex:
1
,
disabled:
true
=
text_field_tag
:path
,
current_user
.
namespace_path
,
class:
"input-group-text input-large form-control"
,
tabindex:
1
,
disabled:
true
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
Import
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
@incompatible_repos
.
each
do
|
repo
|
-
@incompatible_repos
.
each
do
|
repo
|
%tr
{
id:
"repo_#{repo.
owner
}___#{repo.slug}"
}
%tr
{
id:
"repo_#{repo.
project_key
}___#{repo.slug}"
}
%td
%td
=
link_to
repo
.
browse_url
,
repo
.
browse_url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
=
link_to
repo
.
browse_url
,
repo
.
browse_url
,
target:
'_blank'
,
rel:
'noopener noreferrer'
%td
.import-target
%td
.import-target
...
...
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