Gilad Chaplik has uploaded a new change for review.

Change subject: userportal: quota used by graph doesn't get cleared
......................................................................

userportal: quota used by graph doesn't get cleared

there are 2 rullers in quota progress bar, one for all and one for you;
when 0% of quota is used, i.e. all and you are 0%, one of the bars should
be hidden.

Change-Id: Ic15b1ff6d0685b8c3752aa86429ab5802595f953
Bug-Url: https://bugzilla.redhat.com/90880
Signed-off-by: Gilad Chaplik <gchap...@redhat.com>
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/DoublePercentageProgressBar.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/12497/1

diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/DoublePercentageProgressBar.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/DoublePercentageProgressBar.java
index d4006de..5091461 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/DoublePercentageProgressBar.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/DoublePercentageProgressBar.java
@@ -66,6 +66,7 @@
     }
 
     public void setZeroValue() {
+        percentageBarB.setVisible(false);
         percentageBarA.setVisible(true);
         percentageBarA.setTitle(title);
         percentageBarA.setStyleName(style.empty());


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic15b1ff6d0685b8c3752aa86429ab5802595f953
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchap...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to