Commit 070f49fd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make group name a link at header

parent 6b01196f
...@@ -55,7 +55,9 @@ module ProjectsHelper ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment