Make group name a link at header
This commit is contained in:
parent
6b01196fb2
commit
070f49fdc5
|
@ -55,7 +55,9 @@ module ProjectsHelper
|
||||||
|
|
||||||
def project_title project
|
def project_title project
|
||||||
if project.group
|
if project.group
|
||||||
project.name_with_namespace
|
content_tag :span do
|
||||||
|
link_to(project.group.name, group_path(project.group)) + " / " + project.name
|
||||||
|
end
|
||||||
else
|
else
|
||||||
project.name
|
project.name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue