Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-15 00:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-15 00:08:38 +0300
commit5c635722c66a32e170c3ba8150bc303124abb7a1 (patch)
treef2cc9bfbb258f98dddc871502988870b03d847e1 /app/helpers/mirror_helper.rb
parent93960490b8bdbc0f2ab1d102b83ec5d5b87c97a6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/mirror_helper.rb')
-rw-r--r--app/helpers/mirror_helper.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/mirror_helper.rb b/app/helpers/mirror_helper.rb
index 50fc5e521fc..9d23ab87b98 100644
--- a/app/helpers/mirror_helper.rb
+++ b/app/helpers/mirror_helper.rb
@@ -9,7 +9,11 @@ module MirrorHelper
end
def mirror_lfs_sync_message
- html_escape(_('The Git LFS objects will %{strong_open}not%{strong_close} be synced.')) % { strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe }
+ docs_link_url = help_page_path('topics/git/lfs/index')
+ docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: docs_link_url }
+
+ html_escape(_('Git LFS objects will be synced if LFS is %{docs_link_start}enabled for the project%{docs_link_end}. Push mirrors will %{strong_open}not%{strong_close} sync LFS objects over SSH.')) %
+ { docs_link_start: docs_link_start, docs_link_end: '</a>'.html_safe, strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe }
end
end