提交 994ad1cb 编写于 作者: J Javier Castro

Added show user name as a tooltip on every call to link_to_member when the name is not shown inline

上级 8aecfc37
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册