This commit is contained in:
Luke Bennett 2018-07-20 12:04:54 +01:00
parent 228a64b8f7
commit 6feb6d908e
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A

View file

@ -146,8 +146,9 @@ module CommitsHelper
end end
link_options = { link_options = {
class: "commit-#{options[:source]}-link", class: "commit-#{options[:source]}-link"
} }
unless options[:has_tooltip] == false unless options[:has_tooltip] == false
link_options[:class] << ' has-tooltip' link_options[:class] << ' has-tooltip'
link_options[:title] = source_email link_options[:title] = source_email