Gilad Chaplik has submitted this change and it was merged. Change subject: webadmin: Add no-quota notification and quota buttons ......................................................................
webadmin: Add no-quota notification and quota buttons Sub-tab quota under the main-tab Data Center had no action buttons (to add, edit, copy or remove quota). When enabling quota in a Data Center, we'd like to notify the user he needs to define quotas. Otherwise system users may be blocked from running VMs or creating new disks. This patch will add such a notification when the data center has no quotas defined. DataCenterQuotaListModel was changed to inherit QuotaListModel in order to include all CRUD actions. Change-Id: Ie5d360af1329df9f274f9e9651e3c0d9a8053f1b Bug-Url: https://bugzilla.redhat.com/845022 Bug-Url: https://bugzilla.redhat.com/855630 Signed-off-by: Ofri Masad <oma...@redhat.com> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetQuotaByStoragePoolIdQueryParameters.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/datacenters/DataCenterListModel.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/datacenters/DataCenterQuotaListModel.java M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/DataCenterModule.java M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/datacenter/SubTabDataCenterQuotaView.java 6 files changed, 141 insertions(+), 51 deletions(-) Approvals: Gilad Chaplik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/10520 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie5d360af1329df9f274f9e9651e3c0d9a8053f1b Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: ofri masad <oma...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com> Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com> Gerrit-Reviewer: ofri masad <oma...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches