From 9bade951b90458c88a187d790fa5400fe6eeb839 Mon Sep 17 00:00:00 2001 From: Sharath Babu Date: Mon, 10 Oct 2016 07:59:22 +0530 Subject: [PATCH] CA-213509: [VMSS] XC Unable to add policy to a Folder/ Tags Disable Folder/Tags for VMSS feature Signed-off-by: Sharath Babu --- XenAdmin/SettingsPanels/GeneralEditPage.cs | 6 ++++++ XenModel/Messages.Designer.cs | 9 +++++++++ XenModel/Messages.resx | 3 +++ 3 files changed, 18 insertions(+) diff --git a/XenAdmin/SettingsPanels/GeneralEditPage.cs b/XenAdmin/SettingsPanels/GeneralEditPage.cs index 9ec834739..e62df22ba 100644 --- a/XenAdmin/SettingsPanels/GeneralEditPage.cs +++ b/XenAdmin/SettingsPanels/GeneralEditPage.cs @@ -203,6 +203,12 @@ namespace XenAdmin.SettingsPanels labelTitle.Text = Messages.GENERAL_PAGE_VMPP_SETTINGS; } + if (xenObjectCopy is VMSS) + { + lblFolder.Visible = labelTags.Visible = folderPanel.Visible = tagsPanel.Visible = false; + labelTitle.Text = Messages.GENERAL_PAGE_VMSS_SETTINGS; + } + if (xenObjectCopy is VM_appliance) { lblFolder.Visible = labelTags.Visible = folderPanel.Visible = tagsPanel.Visible = false; diff --git a/XenModel/Messages.Designer.cs b/XenModel/Messages.Designer.cs index 581ee2b03..66c49d0a3 100755 --- a/XenModel/Messages.Designer.cs +++ b/XenModel/Messages.Designer.cs @@ -15255,6 +15255,15 @@ namespace XenAdmin { } } + /// + /// Looks up a localized string similar to Enter the snapshot schedule name and an optional description.. + /// + public static string GENERAL_PAGE_VMSS_SETTINGS { + get { + return ResourceManager.GetString("GENERAL_PAGE_VMSS_SETTINGS", resourceCulture); + } + } + /// /// Looks up a localized string similar to The server '{0}' needs to be rebooted for update '{1}' to take effect. /// diff --git a/XenModel/Messages.resx b/XenModel/Messages.resx index ece39ed62..1a48fe73c 100755 --- a/XenModel/Messages.resx +++ b/XenModel/Messages.resx @@ -5345,6 +5345,9 @@ Would you like to eject these ISOs before continuing? Enter the VM Protection Policy name and an optional description. + + Enter the snapshot schedule name and an optional description. + Enter the vApp name and an optional description.