Merge pull request #4634 from jacargentina/master
Added show user name as a tooltip on issue participants list
This commit is contained in:
commit
04806be3bf
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,11 @@ module ProjectsHelper
|
|||
|
||||
author_html = author_html.html_safe
|
||||
|
||||
link_to(author_html, user_path(author), class: "author_link").html_safe
|
||||
if opts[:name]
|
||||
link_to(author_html, user_path(author), class: "author_link").html_safe
|
||||
else
|
||||
link_to(author_html, user_path(author), class: "author_link has_tooltip", data: { :'original-title' => sanitize(author.name) } ).html_safe
|
||||
end
|
||||
end
|
||||
|
||||
def project_title project
|
||||
|
|
Loading…
Reference in a new issue