Commit 8128ce30 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show full path for nested groups at dashboard groups list

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6328f26c
......@@ -162,6 +162,14 @@ class Namespace < ActiveRecord::Base
end
end
def full_name
if parent
parent.full_name + ' / ' + name
else
name
end
end
private
def repository_storage_paths
......
......@@ -28,7 +28,7 @@
= image_tag group_icon(group), class: "avatar s40 hidden-xs"
.title
= link_to group, class: 'group-name' do
= group.name
= group.full_name
- if group_member
as
......
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