diff options
author | Phil Hughes <me@iamphill.com> | 2017-08-18 17:19:23 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-18 17:19:23 +0100 |
commit | a8460f215cc1949b993e774dc00bad0b506abcfa (patch) | |
tree | 57bc21d53cc2b264e622edbacbaa3b53282cc684 /app/helpers/projects_helper.rb | |
parent | 4e74eb8178faaf364a421a5113877db434d365e8 (diff) | |
download | gitlab-ce-a8460f215cc1949b993e774dc00bad0b506abcfa.tar.gz |
style updates
fixed some more breadcrumb titles
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 867f3fadfb9..5f61dafaae5 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -52,7 +52,7 @@ module ProjectsHelper def project_title(project) namespace_link = if project.group - group_title(project.group) + group_title(project.group, nil, nil) else owner = project.namespace.owner link_to(simple_sanitize(owner.name), user_path(owner)) @@ -66,7 +66,7 @@ module ProjectsHelper "" end - output << simple_sanitize(project.name) + output << content_tag("span", simple_sanitize(project.name), class: "breadcrumb-item-project-name") output.html_safe end |