diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 22aec62e2bf..f742b00bb7f 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -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