2018-08-18 11:19:57 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-07-25 11:05:40 +00:00
|
|
|
module MirrorHelper
|
|
|
|
def mirrors_form_data_attributes
|
2018-11-12 10:52:48 +00:00
|
|
|
{
|
|
|
|
project_mirror_ssh_endpoint: ssh_host_keys_project_mirror_path(@project, :json),
|
|
|
|
project_mirror_endpoint: project_mirror_path(@project, :json)
|
|
|
|
}
|
2018-07-25 11:05:40 +00:00
|
|
|
end
|
2019-05-01 12:16:03 +00:00
|
|
|
|
|
|
|
def mirror_lfs_sync_message
|
|
|
|
_('The Git LFS objects will <strong>not</strong> be synced.').html_safe
|
|
|
|
end
|
2018-08-01 23:49:19 +00:00
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
|
|
|
MirrorHelper.prepend_if_ee('EE::MirrorHelper')
|