Daniel Erez has posted comments on this change.
Change subject: webadmin: move-copy disks - inactive domains indication
......................................................................
Patch Set 1: (3 inline comments)
....................................................
File
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/MoveOrCopyDiskModel.java
Line 181: sortDisks();
Line 182: postCopyOrMoveInit(showWarning);
Line 183: }
Line 184:
Line 185: private void addProhibitionReasons(DiskModel disk, boolean
isDiskBasedOnTemplate, boolean noSources, boolean noTargets) {
Done
Line 186: disk.getStorageDomain().setIsChangable(!noTargets);
Line 187: disk.getSourceStorageDomain().setIsChangable(!noSources);
Line 188: disk.getSourceStorageDomainName().setIsChangable(!noSources);
Line 189:
disk.getStorageDomain().getChangeProhibitionReasons().add(isDiskBasedOnTemplate
?
....................................................
File
frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
Line 802:
Line 803: @DefaultStringValue("Source Storage Domain is not active")
Line 804: String sourceStorageDomainIsNotActiveMsg();
Line 805:
Line 806: @DefaultStringValue("No active target Storage Domain is
available")
That's the current convention for all entities - I prefer to keep it for now
until an all-over system reformation.
Line 807: String noActiveTargetStorageDomainAvailableMsg();
Line 808:
Line 809: @DefaultStringValue("No active source Storage Domain is
available")
Line 810: String noActiveSourceStorageDomainAvailableMsg();
Line 813: String diskExistsOnAllActiveStorageDomainsMsg();
Line 814:
Line 815: @DefaultStringValue("The Template that the VM is based on does
not exist on any active Storage Domain")
Line 816: String noActiveStorageDomainWithTemplateMsg();
Line 817:
Done
Line 818: @DefaultStringValue("Warning: Some of the disks cannot be moved")
Line 819: String cannotMoveDisks();
Line 820:
Line 821: @DefaultStringValue("Warning: Some of the disks cannot be copied")
--
To view, visit http://gerrit.ovirt.org/11873
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id1c17bbcdfa9c2358a17b297ef99a94254f68132
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches