Artyom Lukianov has posted comments on this change.

Change subject: webadmin: Not show aid instruction on non-editable cluster 
policy dialog
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.ovirt.org/#/c/27975/2/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/scheduling/ClusterPolicyPopupView.java
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/scheduling/ClusterPolicyPopupView.java:

Line 155:     private void localize(ApplicationConstants constants) {
Line 156:         nameEditor.setLabel(constants.clusterPolicyNameLabel());
Line 157:         
descriptionEditor.setLabel(constants.clusterPolicyDescriptionLabel());
Line 158:         
filterExplanationMessage.setText(constants.clusterPolicyExplanationMessage());
Line 159:         
weightExplanationMessage.setText(constants.clusterPolicyExplanationMessage());
> btw, what is the text?
Hi Gilad, can you please read the bug, and if you have additional requirements 
add them to bug, thanks.
Test is: "Drag or use context menu to make changes"
Thanks
Line 160:     }
Line 161: 
Line 162:     public boolean showClusterPolicyPropertiesZone(final 
NewClusterPolicyModel model) {
Line 163:         if (!model.getCustomProperties().isEmpty()) {


Line 253:             String text = ""; //$NON-NLS-1$
Line 254:             if (model.getClusterPolicy().isLocked()){
Line 255:                 filterExplanationMessage.setText(text);
Line 256:                 weightExplanationMessage.setText(text);
Line 257:             }
> if it locked I'd want to see another message.
I can add message, that impossible to  edit build-in cluster policies, if it's 
ok?
Line 258:             if (!selectedItem.isInternal()) {
Line 259:                 text = constants.externalPolicyUnitLabel() + " "; 
//$NON-NLS-1$
Line 260:             }
Line 261:             if (!selectedItem.isEnabled()) {


-- 
To view, visit http://gerrit.ovirt.org/27975
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iab405ae44b9ad74984cc343dfee12ed28a85e302
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Artyom Lukianov <[email protected]>
Gerrit-Reviewer: Artyom Lukianov <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: [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

Reply via email to