Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
994ad1cb
Commit
994ad1cb
authored
Jul 24, 2013
by
Javier Castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added show user name as a tooltip on every call to link_to_member when the name is not shown inline
parent
8aecfc37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+5
-1
No files found.
app/helpers/projects_helper.rb
View file @
994ad1cb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment