mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
CP-43000: Add trial edition and CSS expiry warnings to GeneralTabPage
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
ceaa9abd66
commit
b8a3a7cdeb
@ -978,6 +978,15 @@ namespace XenAdmin.TabPages
|
||||
|
||||
PDSection s = pdSectionLicense;
|
||||
|
||||
if (host.CanShowTrialEditionUpsell())
|
||||
{
|
||||
pdSectionLicense.AddEntryLink(Messages.WARNING, Messages.TRIAL_EDITION_UPSELLING_MESSAGE, () => Program.OpenURL(InvisibleMessages.LICENSE_BUY_URL));
|
||||
}
|
||||
else if (host.CssLicenseHasExpired())
|
||||
{
|
||||
pdSectionLicense.AddEntryLink(Messages.WARNING, Messages.EXPIRED_CSS_UPSELLING_MESSAGE_HOST, () => Program.OpenURL(InvisibleMessages.LICENSE_BUY_URL));
|
||||
}
|
||||
|
||||
if (host.license_params == null)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user