gitlab-org--gitlab-foss/app/views/shared/_import_form.html.haml

20 lines
840 B
Text
Raw Normal View History

- ci_cd_only = local_assigns.fetch(:ci_cd_only, false)
.form-group.row.import-url-data
2017-08-03 06:47:27 -04:00
= f.label :import_url, class: 'label-light' do
%span
= _('Git repository URL')
2015-11-11 10:26:12 -05:00
= f.text_field :import_url, autocomplete: 'off', class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git', required: true
2017-08-03 06:47:27 -04:00
.card.prepend-top-20
2017-08-03 06:47:27 -04:00
%ul
%li
= _('The repository must be accessible over <code>http://</code>, <code>https://</code> or <code>git://</code>.').html_safe
2017-08-03 06:47:27 -04:00
%li
= _('If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>.').html_safe
2017-08-03 06:47:27 -04:00
%li
= import_will_timeout_message(ci_cd_only)
2017-08-03 06:47:27 -04:00
%li
= import_svn_message(ci_cd_only)