Commit d6b6769f authored by Luke Bennett's avatar Luke Bennett

Resolve CE/EE diffs in import form

Part of single codebase changes.
parent 221f0060
......@@ -18,11 +18,6 @@
= import_will_timeout_message(ci_cd_only)
%li
= import_svn_message(ci_cd_only)
- unless ci_cd_only
%li
- ssh_link = link_to _('here'), help_page_path('/workflow/repository_mirroring.md', anchor: 'ssh-authentication')
= _('Once imported, repositories can be mirrored over SSH. Read more %{ssh_link}').html_safe % { ssh_link: ssh_link }
= render_if_exists 'shared/ci_cd_only_link', ci_cd_only: ci_cd_only
-# EE-specific start
= render 'shared/ee/import_form', f: f unless ci_cd_only
-# EE-specific end
= render_if_exists 'shared/ee/import_form', f: f, ci_cd_only: ci_cd_only
- return if ci_cd_only
- docs_link = help_page_path('/workflow/repository_mirroring.md', anchor: 'ssh-authentication')
- link_start = "<a href='#{docs_link}' rel='noopener noreferrer' target='_blank'>".html_safe
%li
= _('Once imported, repositories can be mirrored over SSH. Read more %{link_start}here%{link_end}.').html_safe % { link_start: link_start, link_end: '</a>'.html_safe }
- if License.feature_available?(:repository_mirrors)
.form-group
= f.label :mirror, class: 'label-bold' do
= f.check_box :mirror, disabled: true
%strong
Mirror repository
- return if ci_cd_only
- return unless License.feature_available?(:repository_mirrors)
.form-group
= f.label :mirror, class: 'label-bold' do
= f.check_box :mirror, disabled: true
%strong= _('Mirror repository')
.form-text.text-muted
= _("Automatically update this project's branches and tags from the upstream repository every hour.")
- if Gitlab::CurrentSettings.should_check_namespace_plan?
.form-text.text-muted
Automatically update this project's branches and tags from the upstream
repository every hour.
- if Gitlab::CurrentSettings.should_check_namespace_plan?
.form-text.text-muted
Mirroring will only be available if the feature is included in the plan of the selected group or user.
= _('Mirroring will only be available if the feature is included in the plan of the selected group or user.')
......@@ -1641,6 +1641,9 @@ msgstr ""
msgid "Automatically resolved"
msgstr ""
msgid "Automatically update this project's branches and tags from the upstream repository every hour."
msgstr ""
msgid "Autosave|Note"
msgstr ""
......@@ -8072,6 +8075,9 @@ msgstr ""
msgid "Mirroring was successfully disabled."
msgstr ""
msgid "Mirroring will only be available if the feature is included in the plan of the selected group or user."
msgstr ""
msgid "Missing commit signatures endpoint!"
msgstr ""
......@@ -8632,7 +8638,7 @@ msgstr ""
msgid "Onboarding"
msgstr ""
msgid "Once imported, repositories can be mirrored over SSH. Read more %{ssh_link}"
msgid "Once imported, repositories can be mirrored over SSH. Read more %{link_start}here%{link_end}."
msgstr ""
msgid "Once removed, the fork relationship cannot be restored and you will no longer be able to send merge requests to the source."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment