From: alfonsomthd Date: Mon, 1 Oct 2018 14:11:46 +0000 (+0200) Subject: mgr/dashboard: New Landing Page: Milestone 2 X-Git-Tag: v14.0.1~108^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9fa75975a655bdcbf0a714825432ff4fa917c6a7;p=ceph-ci.git mgr/dashboard: New Landing Page: Milestone 2 Fix: hide 'cluser status' popover when status change to OK. Fixes: https://tracker.ceph.com/issues/27050 Signed-off-by: Alfonso Martínez --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html index 911dda25a17..650d09e7d64 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html @@ -7,29 +7,36 @@ - - -
    -
  • - {{ check.type }}: {{ check.summary.message }} -
  • -
-
-
- {{ contentData.health.status }} -
+ [contentClass]="contentData.health.checks.length > 0 ? 'content-highlight content-row-size-1-5' : 'content-highlight'"> + + + +
    +
  • + {{ check.type }}: {{ check.summary.message }} +
  • +
+
+
+ {{ contentData.health.status }} +
+
+ +
+ {{ contentData.health.status }} +
+