debian-mirror-gitlab/app/views/shared/_import_form.html.haml

23 lines
877 B
Text
Raw Normal View History

2018-03-27 19:54:05 +05:30
- ci_cd_only = local_assigns.fetch(:ci_cd_only, false)
2015-11-26 14:37:03 +05:30
.form-group.import-url-data
2017-09-10 17:25:29 +05:30
= f.label :import_url, class: 'label-light' do
2018-03-27 19:54:05 +05:30
%span
= _('Git repository URL')
2015-11-26 14:37:03 +05:30
2018-03-27 19:54:05 +05:30
= f.text_field :import_url, autocomplete: 'off', class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git', required: true
2017-09-10 17:25:29 +05:30
.well.prepend-top-20
%ul
%li
2018-03-27 19:54:05 +05:30
= _('The repository must be accessible over <code>http://</code>, <code>https://</code> or <code>git://</code>.').html_safe
2017-09-10 17:25:29 +05:30
%li
2018-03-27 19:54:05 +05:30
= _('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-09-10 17:25:29 +05:30
%li
2018-03-27 19:54:05 +05:30
= import_will_timeout_message(ci_cd_only)
2017-09-10 17:25:29 +05:30
%li
2018-03-27 19:54:05 +05:30
= import_svn_message(ci_cd_only)
-# EE-specific start
-# EE-specific end