diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-07 00:42:02 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-08 01:15:04 +0300 |
commit | db7921f2d8349da8183dc716fdf62b6ab5bc697a (patch) | |
tree | 99fdf576f0a8d62e4eeaadf2af75599817c17450 /app/views/import/gitlab | |
parent | bc57ff0ef023db3d07f1adfa6a309fb4a24ed203 (diff) |
Add "Import all projects" button to GitHub and GitLab import pages.
Closes #1963.
Diffstat (limited to 'app/views/import/gitlab')
-rw-r--r-- | app/views/import/gitlab/status.html.haml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/import/gitlab/status.html.haml b/app/views/import/gitlab/status.html.haml index 9aedacef04b..d1e48dfad20 100644 --- a/app/views/import/gitlab/status.html.haml +++ b/app/views/import/gitlab/status.html.haml @@ -3,9 +3,11 @@ Import repositories from GitLab.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,8 +34,8 @@ %td.import-target = repo["path_with_namespace"] %td.import-actions.job-status - = button_tag "Add", class: "btn btn-add-to-import" + = button_tag "Import", class: "btn js-add-to-import" :coffeescript - $ -> - new ImporterStatus("#{jobs_import_gitlab_path}", "#{import_gitlab_url}") + $ -> + new ImporterStatus("#{jobs_import_gitlab_path}", "#{import_gitlab_path}") |