Commit 6d86b698e33044f4ffdfa682e47194464ce5702b
1 parent
8e006c64
Exists in
master
and in
4 other branches
Always show namespace for project title
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
app/helpers/projects_helper.rb
... | ... | @@ -45,7 +45,10 @@ module ProjectsHelper |
45 | 45 | link_to(simple_sanitize(project.group.name), group_path(project.group)) + " / " + project.name |
46 | 46 | end |
47 | 47 | else |
48 | - project.name | |
48 | + owner = project.namespace.owner | |
49 | + content_tag :span do | |
50 | + link_to(simple_sanitize(owner.name), user_path(owner)) + " / " + project.name | |
51 | + end | |
49 | 52 | end |
50 | 53 | end |
51 | 54 | ... | ... |