Commit 994ad1cb authored by Javier Castro's avatar Javier Castro

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

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment