From 4c8c55ff67f741319efdbc488ec037e2a40f9580 Mon Sep 17 00:00:00 2001 From: Patrick Nawracay Date: Tue, 30 Oct 2018 14:41:20 +0100 Subject: [PATCH] mgr/dashboard: Fix links to documentations - Added anchor to Grafana in URL of OSD, Overall Performance - Fixed URL in Object Gateway, Buckets Signed-off-by: Patrick Nawracay --- .../frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts | 5 +++-- .../src/app/shared/components/grafana/grafana.component.ts | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts index 666ada886bc..67fb868acb4 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts @@ -27,8 +27,9 @@ export class Rgw501Component implements OnInit, OnDestroy { } const releaseName = this.cephReleaseNamePipe.transform(summary.version); - this.docsUrl = `http://docs.ceph.com/docs/${releaseName}/mgr/dashboard/ - #enabling-the-object-gateway-management-frontend`; + this.docsUrl = + `http://docs.ceph.com/docs/${releaseName}/mgr/dashboard/` + + `#enabling-the-object-gateway-management-frontend`; setTimeout(() => { subs.unsubscribe(); diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts index 47b80a08a02..2b3c044f1ea 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts @@ -55,7 +55,9 @@ export class GrafanaComponent implements OnInit, OnChanges { } const releaseName = this.cephReleaseNamePipe.transform(summary.version); - this.docsUrl = `http://docs.ceph.com/docs/${releaseName}/mgr/dashboard/`; + this.docsUrl = + `http://docs.ceph.com/docs/${releaseName}/mgr/dashboard/` + + `#enabling-the-embedding-of-grafana-dashboards`; setTimeout(() => { subs.unsubscribe(); -- 2.39.5