Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-02-05 21:31:36 +0300
committerValery Sizov <valery@gitlab.com>2015-02-06 04:03:43 +0300
commit1ac20698a5122111c8e12de4cc59da837b0f9573 (patch)
tree67442cc67cf4d7aa4f3e0c66d11d4728eb4fa8ca /app/views/projects/_gitlab_import_modal.html.haml
parent2d5765bd2ca9b7ce3e4251cb082cbc8c52e51996 (diff)
gitlab.com importer: refactorig
Diffstat (limited to 'app/views/projects/_gitlab_import_modal.html.haml')
-rw-r--r--app/views/projects/_gitlab_import_modal.html.haml15
1 files changed, 1 insertions, 14 deletions
diff --git a/app/views/projects/_gitlab_import_modal.html.haml b/app/views/projects/_gitlab_import_modal.html.haml
index d402098cbd4..e7503f023b1 100644
--- a/app/views/projects/_gitlab_import_modal.html.haml
+++ b/app/views/projects/_gitlab_import_modal.html.haml
@@ -6,17 +6,4 @@
%h3 GitLab OAuth import
.modal-body
You need to setup integration with GitLab first.
- = link_to 'How to setup integration with GitLab', 'https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/gitlab.md'
-
-
-:javascript
- $(function(){
- var import_modal = $('#gitlab_import_modal').modal({modal: true, show:false});
- $('.how_to_import_link').bind("click", function(e){
- e.preventDefault();
- import_modal.show();
- });
- $('.modal-header .close').bind("click", function(){
- import_modal.hide();
- })
- })
+ = link_to 'How to setup integration with GitLab', 'https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/gitlab.md' \ No newline at end of file