]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix space between the text in few sections 59821/head
authorPrachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
Tue, 17 Sep 2024 07:27:20 +0000 (12:57 +0530)
committerPrachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
Wed, 18 Sep 2024 07:24:48 +0000 (12:54 +0530)
Fixes: https://tracker.ceph.com/issues/68098
Signed-off-by: Prachi prgoel@redhat.com
Fixes:
Fix space between the text in below sections

Observability/Alerts —> Active Alerts

Observability/ Alerts —> Alerts

Observability/Alerts —> Silences
Cluster/Pools —> overall performance
Cluster/Hosts/ —> overall performance


Cluster/ OSDs —> overall performance
Block/iSCSI/ —> Targets
Object/Overview —> Multi-Site Sync Status
cluster --> pools -->Pools list --> under each entry: Performance details section
Cluster --> Hosts --> Hosts List --> under each entry: Performance details section
Cluster --> OSDs --> OSD's List --> under each entry: Performance details section

Signed-off-by: Prachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
12 files changed:
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-realm-form/rgw-multisite-realm-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-overview-dashboard/rgw-overview-dashboard.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.html

index 06490a6c76f90cdf1021da41258e10c39a7791c4..ef7fa2a178ea8d7d8a93175b907ac832ec99d784 100644 (file)
@@ -4,7 +4,7 @@
                 *ngIf="available === false"
                 title="iSCSI Targets not available"
                 i18n-title>
-  <ng-container i18n>Please consult the <cd-doc section="iscsi"></cd-doc> on
+  <ng-container i18n>Please consult the&nbsp;<cd-doc section="iscsi"></cd-doc>&nbsp;on
     how to configure and enable the iSCSI Targets management functionality.</ng-container>
 
   <ng-container *ngIf="status">
index 51d3cbb1099b0ef3410d799c9018435ffeda1098..c726ea319ed6bd7a803197bbdf76c6afae340d83 100644 (file)
@@ -4,7 +4,7 @@
                 type="info"
                 i18n>To see all active Prometheus alerts, please provide
   the URL to the API of Prometheus' Alertmanager as described
-  in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
+  in the&nbsp;<cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
 
 <cd-table *ngIf="isAlertmanagerConfigured"
           [data]="prometheusAlertService.alerts"
index e5573cf478296c344e8645d697f2c75927471f35..7296f669d000a5e6f536f2846d12e35c3492f952 100644 (file)
@@ -4,7 +4,7 @@
                 type="info"
                 i18n>To see all configured Prometheus alerts, please
   provide the URL to the API of Prometheus as described in
-  the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
+  the &nbsp;<cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
 
 <cd-table *ngIf="isPrometheusConfigured"
           [data]="prometheusAlertService.rules"
index 603a969b4b4664feb4fe84b9a6a51eced734693c..ac3e0ddc5788aefce34cf2a62e6a381c2ee7ebac 100644 (file)
@@ -3,7 +3,7 @@
 <cd-alert-panel *ngIf="!isAlertmanagerConfigured"
                 type="info"
                 i18n>To enable Silences, please provide the URL to
-  the API of the Prometheus' Alertmanager as described in the
+  the API of the Prometheus' Alertmanager as described in the&nbsp;
   <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
 
 <cd-table *ngIf="isAlertmanagerConfigured"
index 271625c86e8b32acc6dd1101a2d59687e0ce9179..db21dc539981722a15895f313a225113e8e32825 100644 (file)
           <span *ngIf="nfsForm.getValue('access_type') === 'RW' && storageBackend === 'RGW'"
                 i18n>The Object Gateway NFS backend has a number of
             limitations which will seriously affect applications writing to
-            the share. Please consult the <cd-doc section="rgw-nfs"></cd-doc>
+            the share. Please consult the&nbsp;<cd-doc section="rgw-nfs"></cd-doc>&nbsp;
             for details before enabling write access.</span>
         </ng-template>
         <ng-template #accessTypeError>
index 0bcf88b8cd2c03cea5fd4ad1c9bfbdd2e763fb03..1fa5b08f60d69fddd0377377124fe63a05cffc88 100644 (file)
@@ -39,7 +39,7 @@
               <span i18n>You cannot unset the default flag.</span>
             </cd-helper>
             <cd-helper *ngIf="action === 'edit' && !info.data.is_default">
-              <span i18n>Please consult the <a href="{{ docUrl }}">documentation</a> to follow the failover mechanism</span>
+              <span i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;to follow the failover mechanism</span>
             </cd-helper>
             <cd-helper *ngIf="defaultRealmDisabled && action === 'create'">
               <span i18n>Default realm already exists.</span>
index 46461d71074a46c8dfccf38de8a9941ac319f557..e6211e7d2f3a9daa4435cb150e45686c49137844 100644 (file)
@@ -63,7 +63,7 @@
               </cd-helper>
             </span>
             <cd-helper *ngIf="action === 'edit' && !isDefaultZone">
-              <span i18n>Please consult the <a href="{{ docUrl }}">documentation</a> to follow the failover mechanism</span>
+              <span i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;to follow the failover mechanism</span>
             </cd-helper><br>
           </div>
           <div class="custom-control custom-checkbox">
@@ -85,7 +85,7 @@
               </cd-helper>
             </span>
             <cd-helper *ngIf="action === 'edit' && !isMasterZone">
-              <span i18n>Please consult the <a href="{{ docUrl }}">documentation</a> to follow the failover mechanism</span>
+              <span i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;to follow the failover mechanism</span>
             </cd-helper>
           </div>
         </div>
index 88f8bcbd7e1f8fa6f99c0134defed14397ffd973..6e1a32e386b99bea5714419d0c98d11758b30e48 100644 (file)
@@ -58,7 +58,7 @@
             <cd-helper i18n>Zone group doesn't belong to the default realm.</cd-helper>
           </span>
           <cd-helper *ngIf="action === 'edit' && !info.data.is_default">
-            <span i18n>Please consult the <a href="{{ docUrl }}">documentation</a> to follow the failover mechanism</span>
+            <span i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;to follow the failover mechanism</span>
           </cd-helper>
           <cd-helper *ngIf="action === 'edit' && info.data.is_default">
             <span i18n>You cannot unset the default flag.</span>
@@ -76,7 +76,7 @@
             <cd-helper i18n>Multiple master zone groups can't be configured. If you want to create a new zone group and make it the master zone group, you must delete the default zone group.</cd-helper>
           </span>
           <cd-helper *ngIf="action === 'edit' && !info.data.is_master">
-            <span i18n>Please consult the <a href="{{ docUrl }}">documentation</a> to follow the failover mechanism</span>
+            <span i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;to follow the failover mechanism</span>
           </cd-helper>
           <cd-helper *ngIf="action === 'edit' && info.data.is_master">
             <span i18n>You cannot unset the master flag.</span>
index 519782b52990a61d1bd0a06ea240d47055d5b5a0..3a9ce12df9d508f8a80b637b135361dbabb8323e 100644 (file)
           <cd-alert-panel type="info"
                           i18n>
             Multi-site needs to be configured in order to see the multi-site sync status.
-            Please consult the <cd-doc section="multisite"></cd-doc>&nbsp;on how to configure and enable the multi-site functionality.
+            Please consult the&nbsp;<cd-doc section="multisite"></cd-doc>&nbsp;on how to configure and enable the multi-site functionality.
           </cd-alert-panel>
         </span>
       </ng-template>
index 674aaf983494fb2ee011db03ec83c8e68e5122ef..df932b078754c382b114ef805198670ad31d6cbf 100644 (file)
@@ -14,7 +14,7 @@
           <h4 class="mt-3"
               *ngIf="header !== message">{{ message }}</h4>
           <h4 *ngIf="section"
-              i18n>Please consult the <a href="{{ docUrl }}">documentation</a> on how to configure and enable
+              i18n>Please consult the&nbsp;<a href="{{ docUrl }}">documentation</a>&nbsp;on how to configure and enable
                    the {{ sectionInfo }} management functionality.
           </h4>
         </div>
index 8d687775df0ee755bf45bb87e1cd21fb283825bd..4f6b6c119f2c287064e9c3529203397b1f1c7ff2 100644 (file)
@@ -4,13 +4,13 @@
 
 <cd-alert-panel type="info"
                 *ngIf="!grafanaExist"
-                i18n>Please consult the <cd-doc section="grafana"></cd-doc> on
+                i18n>Please consult the&nbsp;<cd-doc section="grafana"></cd-doc>&nbsp;on
   how to configure and enable the monitoring functionality.</cd-alert-panel>
 
 <cd-alert-panel type="info"
                 *ngIf="!dashboardExist"
                 i18n>Grafana Dashboard doesn't exist. Please refer to
-  <cd-doc section="grafana"></cd-doc> on how to add dashboards to Grafana.</cd-alert-panel>
+  &nbsp;<cd-doc section="grafana"></cd-doc>&nbsp;on how to add dashboards to Grafana.</cd-alert-panel>
 
 <ng-container *ngIf="grafanaExist && dashboardExist">
   <div class="row mb-3">
                       *ngIf="showMessage"
                       dismissible="true"
                       (dismissed)="showMessage = false"
-                      i18n>If no embedded Grafana Dashboard appeared below, please follow <a [href]="grafanaSrc"
+                      i18n>If no embedded Grafana Dashboard appeared below, please follow&nbsp;<a [href]="grafanaSrc"
                       target="_blank"
                       noopener
-                      noreferrer>this link </a> to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions</cd-alert-panel>
+                      noreferrer>this link </a>&nbsp;to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions</cd-alert-panel>
     </div>
   </div>
 
index f33261d8019c224ad27edfb5599684f6355eee5f..3b6d9cfa3af73dd3923c458fa5f27d69df2d690d 100644 (file)
@@ -5,6 +5,6 @@
 <ng-template #elseBlock>
   <cd-alert-panel type="info"
                   i18n>Orchestrator is not available.
-    Please consult the <cd-doc section="orch"></cd-doc> on how to configure and
+    Please consult the&nbsp;<cd-doc section="orch"></cd-doc>&nbsp;on how to configure and
     enable the functionality.</cd-alert-panel>
 </ng-template>