Omer Frenkel has posted comments on this change.
Change subject: engine,frontend: localize snapshot type on FE
......................................................................
Patch Set 2:
(1 comment)
....................................................
File
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/snapshot/SnapshotsViewColumns.java
Line 64: descriptionStr = descriptionStr + " (" +
constants.readonlyLabel() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
Line 65: description =
templates.snapshotDescription("font-style:italic", descriptionStr);
//$NON-NLS-1$
Line 66: }
Line 67: else if (snapshot.getType() == SnapshotType.ACTIVE ||
snapshot.getType() == SnapshotType.PREVIEW) {
Line 68: descriptionStr = snapshot.getType() ==
SnapshotType.ACTIVE ? constants.snapshotDescriptionActiveVm() :
constants.snapshotDescriptionActiveVmBeforePreview();
anyway you ignore the snapshot description that in the db, so why removing it?
what will REST users see..? need to think if its ok that its blank there, or
some other solution is needed for REST as well
Line 69: description =
templates.snapshotDescription("color:gray", descriptionStr); //$NON-NLS-1$
Line 70: }
Line 71:
Line 72: return description;
--
To view, visit http://gerrit.ovirt.org/19542
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I26866fd4dd91d034e7ae5afee054080a4ab864a1
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches