mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
CP-7527: Modify MainWindow to make the WLB tab behaviour same for 6.5 and 6.1.
Signed-off-by: Zheng Chai <zheng.chai@citrix.com>
This commit is contained in:
parent
4100f506ca
commit
182916439d
@ -1322,9 +1322,8 @@ namespace XenAdmin
|
||||
ShowTab(ha_upsell ? TabPageHAUpsell : TabPageHA, !multi && !SearchMode && isPoolSelected && has_ha_license_flag);
|
||||
ShowTab(TabPageSnapshots, !multi && !SearchMode && george_or_greater && isRealVMSelected);
|
||||
|
||||
//Any Clearwater XenServer, or an unlicensed >=Creedence XenServer, the WLB tab and any WLB menu items disappear completely.
|
||||
if(!(SelectionManager.Selection.All(s => Helpers.IsClearwater(s.Connection)) ||
|
||||
(wlb_upsell && SelectionManager.Selection.All(s => Helpers.CreedenceOrGreater(s.Connection)))))
|
||||
//Any Clearwater XenServer, or WLB is not licensed on XenServer, the WLB tab and any WLB menu items disappear completely.
|
||||
if(!(SelectionManager.Selection.All(s => Helpers.IsClearwater(s.Connection)) || wlb_upsell ))
|
||||
ShowTab(TabPageWLB, !multi && !SearchMode && isPoolSelected && george_or_greater);
|
||||
|
||||
ShowTab(TabPageAD, !multi && !SearchMode && (isPoolSelected || isHostSelected && isHostLive) && george_or_greater);
|
||||
|
Loading…
Reference in New Issue
Block a user