From d391dd3fecfafb0c27df701aa00d75956a261b89 Mon Sep 17 00:00:00 2001 From: Ricardo Marques Date: Tue, 27 Mar 2018 10:14:40 +0100 Subject: [PATCH] mgr/dashboard: Support aditional info on 'cd-view-cache' Signed-off-by: Ricardo Marques --- .../shared/components/view-cache/view-cache.component.html | 6 +++--- .../shared/components/view-cache/view-cache.component.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html index 1d71da24c1ab3..0e2ac0f88c804 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html @@ -1,17 +1,17 @@ - Retrieving data, please wait. + Retrieving data for . Please wait... - Displaying previously cached data. + Displaying previously cached data for . - Could not load data. Please check the cluster health. + Could not load data for . Please check the cluster health. diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts index 63bc97947c2f1..d3fb390902101 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts @@ -9,6 +9,7 @@ import { ViewCacheStatus } from '../../../shared/enum/view-cache-status.enum'; }) export class ViewCacheComponent implements OnInit { @Input() status: ViewCacheStatus; + @Input() statusFor: string; vcs = ViewCacheStatus; constructor() {} -- 2.39.5