summaryrefslogtreecommitdiff
path: root/app/views/import/github
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-06 22:42:02 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-07 23:15:04 +0100
commitdb7921f2d8349da8183dc716fdf62b6ab5bc697a (patch)
tree99fdf576f0a8d62e4eeaadf2af75599817c17450 /app/views/import/github
parentbc57ff0ef023db3d07f1adfa6a309fb4a24ed203 (diff)
downloadgitlab-ce-db7921f2d8349da8183dc716fdf62b6ab5bc697a.tar.gz
Add "Import all projects" button to GitHub and GitLab import pages.
Closes #1963.
Diffstat (limited to 'app/views/import/github')
-rw-r--r--app/views/import/github/status.html.haml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/import/github/status.html.haml b/app/views/import/github/status.html.haml
index 1676c3c26ae..84d9903fe15 100644
--- a/app/views/import/github/status.html.haml
+++ b/app/views/import/github/status.html.haml
@@ -3,9 +3,11 @@
Import repositories from GitHub.com
%p.light
- Select projects you want to import.
-
+ Select projects you want to import.
%hr
+%p
+ = button_tag 'Import all projects', class: "btn btn-success js-import-all"
+
%table.table.import-jobs
%thead
%tr
@@ -32,7 +34,7 @@
%td.import-target
= repo.full_name
%td.import-actions.job-status
- = button_tag "Add", class: "btn btn-add-to-import"
+ = button_tag "Import", class: "btn js-add-to-import"
:coffeescript
$ ->