summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-07-03 09:41:32 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 15:43:37 +0200
commitade54803a7f8b1470320fc6fa5871f2ec208eb0f (patch)
tree76f22770d4284c92a998f999cf2e19104ec4dcb5 /app/helpers
parent3b7ac360cff04a5c1be83ee13b1354f07021c80d (diff)
downloadgitlab-ce-ade54803a7f8b1470320fc6fa5871f2ec208eb0f.tar.gz
add help links to gpg commits / gpg settings
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/commits_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 42e9379d1f4..60acc1e2f82 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -271,6 +271,13 @@ module CommitsHelper
)
concat "GPG key ID: #{signature.gpg_key_primary_keyid}"
+ concat(
+ link_to(
+ 'Learn about signing commits',
+ help_page_path('workflow/gpg_signed_commits/index.md'),
+ class: 'gpg-badge-popover-help-link'
+ )
+ )
end
title = capture do