Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
671c5b2e
Commit
671c5b2e
authored
Dec 04, 2018
by
Mike Greiling
Committed by
Thong Kuah
Dec 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render group namespaces in clusters index
parent
bfec22a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
app/views/clusters/clusters/_cluster.html.haml
app/views/clusters/clusters/_cluster.html.haml
+6
-0
No files found.
app/views/clusters/clusters/_cluster.html.haml
View file @
671c5b2e
...
@@ -3,6 +3,12 @@
...
@@ -3,6 +3,12 @@
.table-section.section-60
.table-section.section-60
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Kubernetes cluster"
)
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Kubernetes cluster"
)
.table-mobile-content
.table-mobile-content
-
if
cluster
.
group_type?
&&
cluster
.
group
.
id
!=
clusterable
.
id
-
if
cluster
.
group
.
ancestors
.
any?
=
"
#{
cluster
.
group
.
ancestors
.
first
.
name
}
/"
-
if
cluster
.
group
.
ancestors
.
length
>
1
=
"… /"
.
html_safe
=
"
#{
cluster
.
group
.
name
}
/"
=
link_to
cluster
.
name
,
cluster
.
show_path
=
link_to
cluster
.
name
,
cluster
.
show_path
-
unless
cluster
.
enabled?
-
unless
cluster
.
enabled?
%span
.badge.badge-danger
Connection disabled
%span
.badge.badge-danger
Connection disabled
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment