Moti Asayag has uploaded a new change for review. Change subject: webadmin: Add indication of updates for hosts ......................................................................
webadmin: Add indication of updates for hosts In addition to notification of upgrades for ovirt-node, other hosts will also be notated with indication of an available update: * In the host general->info sub-subtab alerts pane. * An icon next to the host name Change-Id: Ia1dd135ffcd93788334c8f6237d26d89b78759a3 Bug-Url: https://bugzilla.redhat.com/1157368 Signed-off-by: Moti Asayag <masa...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/62/40562/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java index b89c99c..5a1d7e7 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java @@ -11,7 +11,6 @@ import java.util.Map; import java.util.Set; -import com.google.inject.Inject; import org.ovirt.engine.core.common.VdcActionUtils; import org.ovirt.engine.core.common.VdcObjectType; import org.ovirt.engine.core.common.action.AttachVdsToTagParameters; @@ -100,6 +99,8 @@ import org.ovirt.engine.ui.uicompat.ReversibleFlow; import org.ovirt.engine.ui.uicompat.UIConstants; import org.ovirt.engine.ui.uicompat.UIMessages; + +import com.google.inject.Inject; @SuppressWarnings("unused") public class HostListModel<E> extends ListWithDetailsAndReportsModel<E, VDS> implements ISupportSystemTreeContext @@ -1994,8 +1995,9 @@ } }), vds.getId()); + } else if (vds.getVdsType() == VDSType.VDS) { + generalModel.setHasUpgradeAlert(vds.isUpdateAvailable()); } - } @Override -- To view, visit https://gerrit.ovirt.org/40562 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia1dd135ffcd93788334c8f6237d26d89b78759a3 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <masa...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches