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
d3c44b1a
Commit
d3c44b1a
authored
Feb 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import status page project links for new Rails.
parent
7fef8456
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/import/base/create.js.haml
app/views/import/base/create.js.haml
+1
-1
app/views/import/bitbucket/status.html.haml
app/views/import/bitbucket/status.html.haml
+1
-1
app/views/import/github/status.html.haml
app/views/import/github/status.html.haml
+1
-1
app/views/import/gitlab/status.html.haml
app/views/import/gitlab/status.html.haml
+1
-1
app/views/import/gitorious/status.html.haml
app/views/import/gitorious/status.html.haml
+1
-1
No files found.
app/views/import/base/create.js.haml
View file @
d3c44b1a
...
...
@@ -20,6 +20,6 @@
job.attr("id", "project_
#{
@project
.
id
}
")
target_field = job.find(".import-target")
target_field.empty()
target_field.append('<strong>
#{
link_to
@project
.
path_with_namespace
,
@project
}
</strong>')
target_field.append('<strong>
#{
link_to
@project
.
path_with_namespace
,
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
]
}
</strong>')
$("table.import-jobs tbody").prepend(job)
job.addClass("active").find(".import-actions").html("<i class='fa fa-spinner fa-spin'></i> started")
app/views/import/bitbucket/status.html.haml
View file @
d3c44b1a
...
...
@@ -20,7 +20,7 @@
%td
=
link_to
project
.
import_source
,
"https://bitbucket.org/
#{
project
.
import_source
}
"
,
target:
"_blank"
%td
%strong
=
link_to
project
.
path_with_namespace
,
project
%strong
=
link_to
project
.
path_with_namespace
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
]
%td
.job-status
-
if
project
.
import_status
==
'finished'
%span
.cgreen
...
...
app/views/import/github/status.html.haml
View file @
d3c44b1a
...
...
@@ -20,7 +20,7 @@
%td
=
link_to
project
.
import_source
,
"https://github.com/
#{
project
.
import_source
}
"
,
target:
"_blank"
%td
%strong
=
link_to
project
.
path_with_namespace
,
project
%strong
=
link_to
project
.
path_with_namespace
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
]
%td
.job-status
-
if
project
.
import_status
==
'finished'
%span
.cgreen
...
...
app/views/import/gitlab/status.html.haml
View file @
d3c44b1a
...
...
@@ -20,7 +20,7 @@
%td
=
link_to
project
.
import_source
,
"https://gitlab.com/
#{
project
.
import_source
}
"
,
target:
"_blank"
%td
%strong
=
link_to
project
.
path_with_namespace
,
project
%strong
=
link_to
project
.
path_with_namespace
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
]
%td
.job-status
-
if
project
.
import_status
==
'finished'
%span
.cgreen
...
...
app/views/import/gitorious/status.html.haml
View file @
d3c44b1a
...
...
@@ -20,7 +20,7 @@
%td
=
link_to
project
.
import_source
,
"https://gitorious.org/
#{
project
.
import_source
}
"
,
target:
"_blank"
%td
%strong
=
link_to
project
.
path_with_namespace
,
project
%strong
=
link_to
project
.
path_with_namespace
,
[
project
.
namespace
.
becomes
(
Namespace
),
project
]
%td
.job-status
-
if
project
.
import_status
==
'finished'
%span
.cgreen
...
...
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