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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b3bfb752
Commit
b3bfb752
authored
Jan 11, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix link_to_member to not be bold by default
parent
167f26b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+6
-8
No files found.
app/helpers/projects_helper.rb
View file @
b3bfb752
...
...
@@ -26,21 +26,19 @@ module ProjectsHelper
# Build avatar image tag
avatar
=
image_tag
(
gravatar_icon
(
author
.
try
(
:email
)),
width:
16
,
class:
"lil_av"
)
# Build name s
trong
tag
name
=
content_tag
:s
trong
,
author
.
name
,
class:
'author'
# Build name s
pan
tag
name
=
content_tag
:s
pan
,
author
.
name
,
class:
'author'
author_html
=
avatar
+
name
tm
=
project
.
team_member_by_id
(
author
)
content_tag
:span
,
class:
'member-link'
do
if
tm
link_to
author_html
,
project_team_member_path
(
project
,
tm
),
class:
"author_link"
else
author_html
end
end
end
def
tm_path
team_member
project_team_member_path
(
@project
,
team_member
)
...
...
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