Skip to content

Commit

Permalink
webadmin: show free space on target storage domain when moving multip…
Browse files Browse the repository at this point in the history
…le disks

When moving multiple disks, the dropdown with the storage domain for all disks only contained the name of the storage domain.
Extended this so it also shows the free space of the target storage domain. (like it's the case with the individual dropdowns).

Signed-off-by: Jasper Berton <[email protected]>
  • Loading branch information
JasperB-TeamBlue authored and sandrobonazzola committed Dec 10, 2024
1 parent 0a00f28 commit 12f39f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.ovirt.engine.ui.common.widget.AlertWithIcon;
import org.ovirt.engine.ui.common.widget.dialog.SimpleDialogPanel;
import org.ovirt.engine.ui.common.widget.editor.ListModelListBoxEditor;
import org.ovirt.engine.ui.common.widget.renderer.NameRenderer;
import org.ovirt.engine.ui.common.widget.renderer.StorageDomainFreeSpaceRenderer;
import org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView;
import org.ovirt.engine.ui.uicommonweb.models.EntityModel;
import org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel;
Expand Down Expand Up @@ -53,7 +53,7 @@ interface Driver extends UiCommonEditorDriver<DisksAllocationModel, DisksAllocat
public DisksAllocationPopupView(EventBus eventBus) {
super(eventBus);

targetStorageListEditor = new ListModelListBoxEditor<>(new NameRenderer<>());
targetStorageListEditor = new ListModelListBoxEditor<>(new StorageDomainFreeSpaceRenderer<>());
disksAllocationView = new DisksAllocationView();
initWidget(ViewUiBinder.uiBinder.createAndBindUi(this));
disksAllocationView.setUsePatternFly(true);
Expand Down

0 comments on commit 12f39f9

Please sign in to comment.