]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix doc links in rgw-multisite 60154/head
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Fri, 27 Sep 2024 13:59:15 +0000 (15:59 +0200)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Mon, 7 Oct 2024 08:45:38 +0000 (10:45 +0200)
Conflicts:
- mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html
- mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html

Fixes: https://tracker.ceph.com/issues/68295
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit ad471f553d305c8cf7bdacecd3eccc01519ec0f7)

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

index 46461d71074a46c8dfccf38de8a9941ac319f557..6a9814651612cd89a9c3ce450d5d82ca82d55343 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;<cd-doc section="rgw-multisite"></cd-doc>&nbsp;to follow the failover mechanism</span>
             </cd-helper><br>
           </div>
           <div class="custom-control custom-checkbox">
index 88f8bcbd7e1f8fa6f99c0134defed14397ffd973..fe32f082cbc45646ac7eedfe59743f2bcf6df559 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;<cd-doc section="rgw-multisite"></cd-doc>&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;<cd-doc section="rgw-multisite"></cd-doc>&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>