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
d26074c7
Commit
d26074c7
authored
Aug 01, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve localization and formatting of Bitbucket Server importer status page
parent
b2da3a35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
app/views/import/bitbucket_server/status.html.haml
app/views/import/bitbucket_server/status.html.haml
+10
-9
No files found.
app/views/import/bitbucket_server/status.html.haml
View file @
d26074c7
...
...
@@ -3,22 +3,23 @@
%h3
.page-title
%i
.fa.fa-bitbucket-square
Import projects from Bitbucket Server
=
link_to
(
'Reconfigure'
,
configure_import_bitbucket_server_path
,
class:
'btn btn-primary float-right'
,
method: :post
)
=
_
(
'Import projects from Bitbucket Server'
)
-
if
@repos
.
any?
%p
.light
Select projects you want to import.
=
_
(
'Select projects you want to import.'
)
%hr
%
p
.btn-grou
p
-
if
@incompatible_repos
.
any?
=
button_tag
class:
'btn btn-import btn-success js-import-all'
do
Import all compatible projects
=
_
(
'Import all compatible projects'
)
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
else
=
button_tag
class:
'btn btn-import btn-success js-import-all'
do
Import all projects
=
_
(
'Import all projects'
)
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.btn-group
=
link_to
(
'Reconfigure'
,
configure_import_bitbucket_server_path
,
class:
'btn btn-primary'
,
method: :post
)
%p
.table-responsive
...
...
@@ -28,9 +29,9 @@
%colgroup
.import-jobs-status-col
%thead
%tr
%th
From Bitbucket Server
%th
To GitLab
%th
Status
%th
=
_
(
'From Bitbucket Server'
)
%th
=
_
(
'To GitLab'
)
%th
=
_
(
' Status'
)
%tbody
-
@already_added_projects
.
each
do
|
project
|
%tr
{
id:
"project_#{project.id}"
,
class:
"#{project_status_css_class(project.import_status)}"
}
...
...
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