From 133924c6cc443f5f69e1ab08d43b363d77677cb0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 11 Oct 2019 00:06:24 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/helpers/tags_helper.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/helpers/tags_helper.rb') diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb index de0b92b6fd7..4984b51555d 100644 --- a/app/helpers/tags_helper.rb +++ b/app/helpers/tags_helper.rb @@ -28,4 +28,14 @@ module TagsHelper def protected_tag?(project, tag) ProtectedTag.protected?(project, tag.name) end + + def tag_description_help_text + text = s_('TagsPage|Optionally, add a message to the tag. Leaving this blank creates '\ + 'a %{link_start}lightweight tag.%{link_end}') % { + link_start: '', + link_end: '' + } + + text.html_safe + end end -- cgit v1.2.3