summaryrefslogtreecommitdiff
path: root/app/views/projects/_gitlab_import_modal.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-18 22:42:52 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-24 15:07:25 +0100
commit20691df230332022cb4d5008d84c7ee6e6c8dbfd (patch)
treee377d1fca356d11aed25767716991140a9f83add /app/views/projects/_gitlab_import_modal.html.haml
parent3fde1dce1f9058d4b57d17eac55051fb174c6aa4 (diff)
downloadgitlab-ce-20691df230332022cb4d5008d84c7ee6e6c8dbfd.tar.gz
Add Bitbucket integration docs.
Diffstat (limited to 'app/views/projects/_gitlab_import_modal.html.haml')
-rw-r--r--app/views/projects/_gitlab_import_modal.html.haml10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/projects/_gitlab_import_modal.html.haml b/app/views/projects/_gitlab_import_modal.html.haml
index e7503f023b1..52212b6ae02 100644
--- a/app/views/projects/_gitlab_import_modal.html.haml
+++ b/app/views/projects/_gitlab_import_modal.html.haml
@@ -3,7 +3,11 @@
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
- %h3 GitLab OAuth import
+ %h3 Import projects from GitLab.com
.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' \ No newline at end of file
+ To enable importing projects from GitLab.com,
+ - if current_user.admin?
+ you need to
+ - else
+ your GitLab administrator needs to
+ == #{link_to 'setup OAuth integration', 'https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/integration/gitlab.md'}. \ No newline at end of file