diff options
author | Stan Hu <stanhu@gmail.com> | 2015-03-22 08:24:23 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-03-22 08:47:22 -0700 |
commit | 90cbb73ed6c7deed4ff7fab4a5cf796228e6d145 (patch) | |
tree | 87e57cbb3fec487c9b5a3fc140d8b0520f8253ae /app/views/projects | |
parent | 29f6b01d6343c08dc9fe1f6bdf95a645dd4e4cc0 (diff) | |
download | gitlab-ce-90cbb73ed6c7deed4ff7fab4a5cf796228e6d145.tar.gz |
Fix "Import projects from" button to show the correct instructions
Closes #1267
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/new.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 173a3080b31..9687c8ad87c 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -74,9 +74,9 @@ = f.text_field :import_url, class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git' .alert.alert-info.prepend-top-10 %ul - %li + %li The repository must be accessible over HTTP(S). If it is not publicly accessible, you can add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>. - %li + %li The import will time out after 4 minutes. For big repositories, use a clone/push combination. %li To migrate an SVN repository, check out #{link_to "this document", "http://doc.gitlab.com/ce/workflow/migrating_from_svn.html"}. @@ -112,6 +112,6 @@ $ -> $('.how_to_import_link').bind 'click', (e) -> e.preventDefault() - import_modal = $(this).parent().find(".modal").show() + import_modal = $(this).next(".modal").show() $('.modal-header .close').bind 'click', -> $(".modal").hide() |