summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-02 11:03:33 +0100
committerPhil Hughes <me@iamphill.com>2016-06-10 10:41:58 +0100
commit492e0062172b5a6ea1e553f97b2ac410badc496f (patch)
tree3b998df3dff542ee3c63d051439ae94f2617d387 /app/helpers/projects_helper.rb
parentffd07382b08586420628ae7ecda8a512adf091aa (diff)
downloadgitlab-ce-492e0062172b5a6ea1e553f97b2ac410badc496f.tar.gz
Corrected all sidebar font weights to correctly match the design
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 5e5d170a9f3..61c9a2254df 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -49,7 +49,7 @@ module ProjectsHelper
author_html = author_html.html_safe
if opts[:name]
- link_to(author_html, user_path(author), class: "author_link #{"#{opts[:mobile_classes]}" if opts[:mobile_classes]}").html_safe
+ link_to(author_html, user_path(author), class: "author_link #{"#{opts[:extra_class]}" if opts[:extra_class]} #{"#{opts[:mobile_classes]}" if opts[:mobile_classes]}").html_safe
else
title = opts[:title].sub(":name", sanitize(author.name))
link_to(author_html, user_path(author), class: "author_link has-tooltip", title: title, data: { container: 'body' } ).html_safe