Add and refactor Kubernetes menu
In this commit we're refactoring the Kuebernetes menu in the group sidebar. We're moving away from partial defined logic to object contained one. Now menus are defined in objects that will contain all the information instead of in partials.
显示
- app/views/layouts/nav/sidebar/_group_menus.html.haml 0 个添加, 13 个删除app/views/layouts/nav/sidebar/_group_menus.html.haml
- lib/sidebars/groups/menus/kubernetes_menu.rb 41 个添加, 0 个删除lib/sidebars/groups/menus/kubernetes_menu.rb
- lib/sidebars/groups/panel.rb 1 个添加, 0 个删除lib/sidebars/groups/panel.rb
- spec/lib/sidebars/groups/menus/kubernetes_menu_spec.rb 32 个添加, 0 个删除spec/lib/sidebars/groups/menus/kubernetes_menu_spec.rb
- spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb 8 个添加, 0 个删除spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
加载中
想要评论请 注册 或 登录