namespace partial paths on dashboard

This commit is contained in:
Brett Walker 2018-06-29 16:20:14 -05:00
parent e325367a85
commit bd2e41aa61
2 changed files with 9 additions and 4 deletions

View file

@ -2,7 +2,7 @@
- breadcrumb_title "Dashboard" - breadcrumb_title "Dashboard"
%div{ class: container_class } %div{ class: container_class }
= render_if_exists "admin/licenses/breakdown", license: @license = render_if_exists 'admin/licenses/breakdown', license: @license
.admin-dashboard.prepend-top-default .admin-dashboard.prepend-top-default
.row .row
@ -22,7 +22,7 @@
%h3.text-center %h3.text-center
Users: Users:
= approximate_count_with_delimiters(@counts, User) = approximate_count_with_delimiters(@counts, User)
= render_if_exists 'users_statistics' = render_if_exists 'admin/dashboard/users_statistics'
%hr %hr
= link_to 'New user', new_admin_user_path, class: "btn btn-new" = link_to 'New user', new_admin_user_path, class: "btn btn-new"
.col-sm-4 .col-sm-4
@ -101,7 +101,7 @@
%span.light.float-right %span.light.float-right
= boolean_to_icon Gitlab::IncomingEmail.enabled? = boolean_to_icon Gitlab::IncomingEmail.enabled?
= render_if_exists 'elastic_and_geo' = render_if_exists 'admin/dashboard/elastic_and_geo'
- container_reg = "Container Registry" - container_reg = "Container Registry"
%p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") } %p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") }
@ -151,7 +151,7 @@
%span.float-right %span.float-right
= Gitlab::Pages::VERSION = Gitlab::Pages::VERSION
= render_if_exists 'geo' = render_if_exists 'admin/dashboard/geo'
%p %p
Ruby Ruby

View file

@ -0,0 +1,5 @@
---
title: Restore showing Elasticsearch and Geo status on dashboard
merge_request: 20276
author:
type: fixed