summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 13:12:30 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 13:12:30 +0200
commit070f49fdc550654e538977f4fe6ce4a609521696 (patch)
tree43ec8399e1f2863d089c41334e5c13c3e12af68d /app
parent6b01196fb238cb921056ecd8d1572ff2874bf912 (diff)
downloadgitlab-ce-070f49fdc550654e538977f4fe6ce4a609521696.tar.gz
Make group name a link at header
Diffstat (limited to 'app')
-rw-r--r--app/helpers/projects_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index c6cb9129499..4f0a80710cb 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -55,7 +55,9 @@ module ProjectsHelper
def project_title project
if project.group
- project.name_with_namespace
+ content_tag :span do
+ link_to(project.group.name, group_path(project.group)) + " / " + project.name
+ end
else
project.name
end