diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2019-05-07 07:08:52 +0000 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2019-05-07 07:08:52 +0000 |
commit | 3371c1cb7102ec557065ea7e92b9f6fff9744bd1 (patch) | |
tree | 8421a6ac36b6318d96573c1325212a332d0aa847 /app/views | |
parent | 5925b5bbdb0ffddf4ab8be84b84747a65c2aec3c (diff) | |
parent | f07d445b0c3296b3070221ccd70443fba15ba708 (diff) | |
download | gitlab-ce-3371c1cb7102ec557065ea7e92b9f6fff9744bd1.tar.gz |
Merge branch 'instance_level_clusters' into 'master'
Instance level k8s clusters
See merge request gitlab-org/gitlab-ce!27196
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/nav/sidebar/_admin.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/layouts/nav/sidebar/_admin.html.haml b/app/views/layouts/nav/sidebar/_admin.html.haml index ece66d3180b..04d67e024ba 100644 --- a/app/views/layouts/nav/sidebar/_admin.html.haml +++ b/app/views/layouts/nav/sidebar/_admin.html.haml @@ -132,6 +132,19 @@ = _('Abuse Reports') %span.badge.badge-pill.count.merge_counter.js-merge-counter.fly-out-badge= number_with_delimiter(AbuseReport.count(:all)) + - if instance_clusters_enabled? + = nav_link(controller: :clusters) do + = link_to admin_clusters_path do + .nav-icon-container + = sprite_icon('cloud-gear') + %span.nav-item-name + = _('Kubernetes') + %ul.sidebar-sub-level-items.is-fly-out-only + = nav_link(controller: :clusters, html_options: { class: "fly-out-top-item" } ) do + = link_to admin_clusters_path do + %strong.fly-out-top-item-name + = _('Kubernetes') + - if akismet_enabled? = nav_link(controller: :spam_logs) do = link_to admin_spam_logs_path do |