From a6eb28abc5e4d90780f63e30fbcb7857989ef7ac Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 11 Mar 2014 18:23:03 +0200 Subject: [PATCH] Better explanation for import url --- app/views/projects/new.html.haml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 9cc28c7..83bbbb0 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -23,6 +23,7 @@ .col-sm-2 .col-sm-10 = link_to "#", class: 'js-toggle-button' do + %i.icon-edit %span Customize repository name? .js-toggle-content.hide .form-group @@ -46,8 +47,10 @@ %span Import existing repo .col-sm-10 = f.text_field :import_url, class: 'form-control', placeholder: 'https://github.com/randx/six.git' - .light - URL must be cloneable + %p.help-block + This url must be publicly accessible or you can add a username and password like this: https://username:password@gitlab.com/company/project.git. + %br + Import timeout is 2 minutes. For big repositories use clone/push combination. %hr .form-group -- libgit2 0.21.2