Show full path for nested groups at dashboard groups list
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
6328f26c41
commit
8128ce3054
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue