Always show namespace for project title
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
8e006c64d3
commit
6d86b698e3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue