Commit a6eb28abc5e4d90780f63e30fbcb7857989ef7ac

Authored by Dmitriy Zaporozhets
1 parent a599d812

Better explanation for import url

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 5 additions and 2 deletions   Show diff stats
app/views/projects/new.html.haml
... ... @@ -23,6 +23,7 @@
23 23 .col-sm-2
24 24 .col-sm-10
25 25 = link_to "#", class: 'js-toggle-button' do
  26 + %i.icon-edit
26 27 %span Customize repository name?
27 28 .js-toggle-content.hide
28 29 .form-group
... ... @@ -46,8 +47,10 @@
46 47 %span Import existing repo
47 48 .col-sm-10
48 49 = f.text_field :import_url, class: 'form-control', placeholder: 'https://github.com/randx/six.git'
49   - .light
50   - URL must be cloneable
  50 + %p.help-block
  51 + This url must be publicly accessible or you can add a username and password like this: https://username:password@gitlab.com/company/project.git.
  52 + %br
  53 + Import timeout is 2 minutes. For big repositories use clone/push combination.
51 54 %hr
52 55  
53 56 .form-group
... ...