From: Ricardo Marques Date: Tue, 27 Mar 2018 09:14:40 +0000 (+0100) Subject: mgr/dashboard: Support aditional info on 'cd-view-cache' X-Git-Tag: v13.1.0~411^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d391dd3fecfafb0c27df701aa00d75956a261b89;p=ceph.git mgr/dashboard: Support aditional info on 'cd-view-cache' Signed-off-by: Ricardo Marques --- 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 1d71da24c1ab..0e2ac0f88c80 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 63bc97947c2f..d3fb39090210 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() {}