mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
Merge pull request #55312 from afreen23/fix-55270
mgr/dashboard: Code refactor rgw migrate component for using correctly the MIGRATE action verb Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
commit
2218c356a6
@ -146,7 +146,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<cd-form-button-panel (submitActionEvent)="submit()"
|
<cd-form-button-panel (submitActionEvent)="submit()"
|
||||||
[submitText]="actionLabels.MIGRATE"
|
[submitText]="actionLabels.MIGRATE + ' ' + 'to Multi-site'"
|
||||||
[form]="multisiteMigrateForm"></cd-form-button-panel>
|
[form]="multisiteMigrateForm"></cd-form-button-panel>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -181,7 +181,7 @@ export class RgwMultisiteMigrateComponent implements OnInit {
|
|||||||
() => {
|
() => {
|
||||||
this.notificationService.show(
|
this.notificationService.show(
|
||||||
NotificationType.success,
|
NotificationType.success,
|
||||||
$localize`${this.actionLabels.MIGRATE} done successfully`
|
$localize`Migration done successfully`
|
||||||
);
|
);
|
||||||
this.submitAction.emit();
|
this.submitAction.emit();
|
||||||
this.activeModal.close();
|
this.activeModal.close();
|
||||||
|
@ -150,7 +150,7 @@ export class ActionLabelsI18n {
|
|||||||
|
|
||||||
this.IMPORT = $localize`Import`;
|
this.IMPORT = $localize`Import`;
|
||||||
|
|
||||||
this.MIGRATE = $localize`Migrate to Multi-site`;
|
this.MIGRATE = $localize`Migrate`;
|
||||||
|
|
||||||
/* Destroy an existing item */
|
/* Destroy an existing item */
|
||||||
this.DELETE = $localize`Delete`;
|
this.DELETE = $localize`Delete`;
|
||||||
|
Loading…
Reference in New Issue
Block a user