Always show namespace for project title

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-11-04 15:18:55 +02:00
parent 8e006c64d3
commit 6d86b698e3
No known key found for this signature in database
GPG Key ID: 2CEAFD2671262EC2
1 changed files with 4 additions and 1 deletions

View File

@ -45,7 +45,10 @@ module ProjectsHelper
link_to(simple_sanitize(project.group.name), group_path(project.group)) + " / " + project.name
end
else
project.name
owner = project.namespace.owner
content_tag :span do
link_to(simple_sanitize(owner.name), user_path(owner)) + " / " + project.name
end
end
end