Skip to content
Snippets Groups Projects
Unverified Commit 6d86b698 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Always show namespace for project title

parent 8e006c64
No related branches found
No related tags found
1 merge request!1Fix Links To Gitlab Cloud
Loading
@@ -45,7 +45,10 @@ module ProjectsHelper
Loading
@@ -45,7 +45,10 @@ module ProjectsHelper
link_to(simple_sanitize(project.group.name), group_path(project.group)) + " / " + project.name link_to(simple_sanitize(project.group.name), group_path(project.group)) + " / " + project.name
end end
else 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
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment