]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.html
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / rbd-trash-restore-modal / rbd-trash-restore-modal.component.html
index f1c1c0c17089b4b1e00afb8f389c32f115419db3..c1964e0be7309235b2bddd3f2171546124879ca4 100644 (file)
       <div class="modal-body">
         <p>
           <ng-container i18n>To restore</ng-container>&nbsp;
-          <kbd>{{ poolName }}/{{ imageName }}@{{ imageId }}</kbd>,&nbsp;
+          <kbd>{{ imageSpec }}@{{ imageId }}</kbd>,&nbsp;
           <ng-container i18n>type the image's new name and click</ng-container>&nbsp;
           <kbd i18n>Restore Image</kbd>.
         </p>
 
-        <div class="form-group"
-             [ngClass]="{'has-error': restoreForm.showError('name', formDir)}">
-          <label for="name"
+        <div class="form-group">
+          <label class="col-form-label"
+                 for="name"
                  i18n>New Name</label>
           <input type="text"
                  class="form-control"
@@ -27,7 +27,7 @@
                  autocomplete="off"
                  formControlName="name"
                  autofocus>
-          <span class="help-block"
+          <span class="invalid-feedback"
                 *ngIf="restoreForm.showError('name', formDir, 'required')"
                 i18n>This field is required.</span>
         </div>